summaryrefslogtreecommitdiff
path: root/sys/lib/libkern/udivdi3.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-08-07 00:38:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-08-07 00:38:34 +0000
commit6199f15e3e0651e8399ad97e919a96d69d128ee2 (patch)
treecde8dbb44682b9bafafa3ec82a63352162d5cf59 /sys/lib/libkern/udivdi3.c
parentf8b1d50fcd985a3171e1d491c63c553aff62c2a7 (diff)
ansi and some missing protos
Diffstat (limited to 'sys/lib/libkern/udivdi3.c')
-rw-r--r--sys/lib/libkern/udivdi3.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/lib/libkern/udivdi3.c b/sys/lib/libkern/udivdi3.c
index 6267ec311aa..6f7e657c05e 100644
--- a/sys/lib/libkern/udivdi3.c
+++ b/sys/lib/libkern/udivdi3.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: udivdi3.c,v 1.3 2003/06/02 23:28:08 millert Exp $ */
+/* $OpenBSD: udivdi3.c,v 1.4 2004/08/07 00:38:33 deraadt Exp $ */
/* $NetBSD: udivdi3.c,v 1.5 1995/10/07 09:26:54 mycroft Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)udivdi3.c 8.1 (Berkeley) 6/4/93";
#else
-static char rcsid[] = "$OpenBSD: udivdi3.c,v 1.3 2003/06/02 23:28:08 millert Exp $";
+static char rcsid[] = "$OpenBSD: udivdi3.c,v 1.4 2004/08/07 00:38:33 deraadt Exp $";
#endif
#endif /* LIBC_SCCS and not lint */
@@ -48,8 +48,7 @@ static char rcsid[] = "$OpenBSD: udivdi3.c,v 1.3 2003/06/02 23:28:08 millert Exp
* Divide two unsigned quads.
*/
u_quad_t
-__udivdi3(a, b)
- u_quad_t a, b;
+__udivdi3(u_quad_t a, u_quad_t b)
{
return (__qdivrem(a, b, (u_quad_t *)0));