summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern/umoddi3.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2004-08-07 00:38:32 +0000
committerderaadt <deraadt@openbsd.org>2004-08-07 00:38:32 +0000
commita26aa41994e8a6961f009870b31f84fec938f9c8 (patch)
treeb69a5bc2e1eeaca538d3783d02cfd53f88cb19db /sys/lib/libkern/umoddi3.c
parentsync (diff)
downloadwireguard-openbsd-a26aa41994e8a6961f009870b31f84fec938f9c8.tar.xz
wireguard-openbsd-a26aa41994e8a6961f009870b31f84fec938f9c8.zip
ansi and some missing protos
Diffstat (limited to 'sys/lib/libkern/umoddi3.c')
-rw-r--r--sys/lib/libkern/umoddi3.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/lib/libkern/umoddi3.c b/sys/lib/libkern/umoddi3.c
index 26f6c787113..226b926e81c 100644
--- a/sys/lib/libkern/umoddi3.c
+++ b/sys/lib/libkern/umoddi3.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: umoddi3.c,v 1.3 2003/06/02 23:28:08 millert Exp $ */
+/* $OpenBSD: umoddi3.c,v 1.4 2004/08/07 00:38:33 deraadt Exp $ */
/* $NetBSD: umoddi3.c,v 1.5 1995/10/07 09:26:55 mycroft Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)umoddi3.c 8.1 (Berkeley) 6/4/93";
#else
-static char rcsid[] = "$OpenBSD: umoddi3.c,v 1.3 2003/06/02 23:28:08 millert Exp $";
+static char rcsid[] = "$OpenBSD: umoddi3.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: umoddi3.c,v 1.3 2003/06/02 23:28:08 millert Exp
* Return remainder after dividing two unsigned quads.
*/
u_quad_t
-__umoddi3(a, b)
- u_quad_t a, b;
+__umoddi3(u_quad_t a, u_quad_t b)
{
u_quad_t r;