diff options
author | 2004-08-07 00:38:32 +0000 | |
---|---|---|
committer | 2004-08-07 00:38:32 +0000 | |
commit | a26aa41994e8a6961f009870b31f84fec938f9c8 (patch) | |
tree | b69a5bc2e1eeaca538d3783d02cfd53f88cb19db /sys/lib/libkern/subdi3.c | |
parent | sync (diff) | |
download | wireguard-openbsd-a26aa41994e8a6961f009870b31f84fec938f9c8.tar.xz wireguard-openbsd-a26aa41994e8a6961f009870b31f84fec938f9c8.zip |
ansi and some missing protos
Diffstat (limited to 'sys/lib/libkern/subdi3.c')
-rw-r--r-- | sys/lib/libkern/subdi3.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/lib/libkern/subdi3.c b/sys/lib/libkern/subdi3.c index ac3fdb9296f..54353825448 100644 --- a/sys/lib/libkern/subdi3.c +++ b/sys/lib/libkern/subdi3.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subdi3.c,v 1.3 2003/06/02 23:28:08 millert Exp $ */ +/* $OpenBSD: subdi3.c,v 1.4 2004/08/07 00:38:33 deraadt Exp $ */ /* $NetBSD: subdi3.c,v 1.5 1995/10/07 09:26:52 mycroft Exp $ */ /*- @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)subdi3.c 8.1 (Berkeley) 6/4/93"; #else -static char rcsid[] = "$OpenBSD: subdi3.c,v 1.3 2003/06/02 23:28:08 millert Exp $"; +static char rcsid[] = "$OpenBSD: subdi3.c,v 1.4 2004/08/07 00:38:33 deraadt Exp $"; #endif #endif /* LIBC_SCCS and not lint */ @@ -49,8 +49,7 @@ static char rcsid[] = "$OpenBSD: subdi3.c,v 1.3 2003/06/02 23:28:08 millert Exp * from a single u_long difference x-y occurs if and only if (x-y) > x. */ quad_t -__subdi3(a, b) - quad_t a, b; +__subdi3(quad_t a, quad_t b) { union uu aa, bb, diff; |