summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern/cmpdi2.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/cmpdi2.c
parentsync (diff)
downloadwireguard-openbsd-a26aa41994e8a6961f009870b31f84fec938f9c8.tar.xz
wireguard-openbsd-a26aa41994e8a6961f009870b31f84fec938f9c8.zip
ansi and some missing protos
Diffstat (limited to 'sys/lib/libkern/cmpdi2.c')
-rw-r--r--sys/lib/libkern/cmpdi2.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/lib/libkern/cmpdi2.c b/sys/lib/libkern/cmpdi2.c
index 41f1af9776d..ac17eb2a6a2 100644
--- a/sys/lib/libkern/cmpdi2.c
+++ b/sys/lib/libkern/cmpdi2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmpdi2.c,v 1.3 2003/06/02 23:28:08 millert Exp $ */
+/* $OpenBSD: cmpdi2.c,v 1.4 2004/08/07 00:38:32 deraadt Exp $ */
/* $NetBSD: cmpdi2.c,v 1.5 1995/10/07 09:26:22 mycroft Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)cmpdi2.c 8.1 (Berkeley) 6/4/93";
#else
-static char rcsid[] = "$OpenBSD: cmpdi2.c,v 1.3 2003/06/02 23:28:08 millert Exp $";
+static char rcsid[] = "$OpenBSD: cmpdi2.c,v 1.4 2004/08/07 00:38:32 deraadt Exp $";
#endif
#endif /* LIBC_SCCS and not lint */
@@ -50,8 +50,7 @@ static char rcsid[] = "$OpenBSD: cmpdi2.c,v 1.3 2003/06/02 23:28:08 millert Exp
* signed.
*/
int
-__cmpdi2(a, b)
- quad_t a, b;
+__cmpdi2(quad_t a, quad_t b)
{
union uu aa, bb;