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/divdi3.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/divdi3.c')
-rw-r--r-- | sys/lib/libkern/divdi3.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/lib/libkern/divdi3.c b/sys/lib/libkern/divdi3.c index 7cbbe39225e..70008be0fa1 100644 --- a/sys/lib/libkern/divdi3.c +++ b/sys/lib/libkern/divdi3.c @@ -1,4 +1,4 @@ -/* $OpenBSD: divdi3.c,v 1.3 2003/06/02 23:28:08 millert Exp $ */ +/* $OpenBSD: divdi3.c,v 1.4 2004/08/07 00:38:32 deraadt Exp $ */ /* $NetBSD: divdi3.c,v 1.5 1995/10/07 09:26:24 mycroft Exp $ */ /*- @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)divdi3.c 8.1 (Berkeley) 6/4/93"; #else -static char rcsid[] = "$OpenBSD: divdi3.c,v 1.3 2003/06/02 23:28:08 millert Exp $"; +static char rcsid[] = "$OpenBSD: divdi3.c,v 1.4 2004/08/07 00:38:32 deraadt Exp $"; #endif #endif /* LIBC_SCCS and not lint */ @@ -49,8 +49,7 @@ static char rcsid[] = "$OpenBSD: divdi3.c,v 1.3 2003/06/02 23:28:08 millert Exp * ??? if -1/2 should produce -1 on this machine, this code is wrong */ quad_t -__divdi3(a, b) - quad_t a, b; +__divdi3(quad_t a, quad_t b) { u_quad_t ua, ub, uq; int neg; |