From 6199f15e3e0651e8399ad97e919a96d69d128ee2 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sat, 7 Aug 2004 00:38:34 +0000 Subject: ansi and some missing protos --- sys/lib/libkern/moddi3.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sys/lib/libkern/moddi3.c') diff --git a/sys/lib/libkern/moddi3.c b/sys/lib/libkern/moddi3.c index f88434d5e20..948215fef41 100644 --- a/sys/lib/libkern/moddi3.c +++ b/sys/lib/libkern/moddi3.c @@ -1,4 +1,4 @@ -/* $OpenBSD: moddi3.c,v 1.3 2003/06/02 23:28:08 millert Exp $ */ +/* $OpenBSD: moddi3.c,v 1.4 2004/08/07 00:38:32 deraadt Exp $ */ /* $NetBSD: moddi3.c,v 1.5 1995/10/07 09:26:31 mycroft Exp $ */ /*- @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)moddi3.c 8.1 (Berkeley) 6/4/93"; #else -static char rcsid[] = "$OpenBSD: moddi3.c,v 1.3 2003/06/02 23:28:08 millert Exp $"; +static char rcsid[] = "$OpenBSD: moddi3.c,v 1.4 2004/08/07 00:38:32 deraadt Exp $"; #endif #endif /* LIBC_SCCS and not lint */ @@ -51,8 +51,7 @@ static char rcsid[] = "$OpenBSD: moddi3.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 -__moddi3(a, b) - quad_t a, b; +__moddi3(quad_t a, quad_t b) { u_quad_t ua, ub, ur; int neg; -- cgit v1.2.3