summaryrefslogtreecommitdiff
path: root/sys/lib/libkern/muldi3.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-08-07 00:38:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-08-07 00:38:34 +0000
commit6199f15e3e0651e8399ad97e919a96d69d128ee2 (patch)
treecde8dbb44682b9bafafa3ec82a63352162d5cf59 /sys/lib/libkern/muldi3.c
parentf8b1d50fcd985a3171e1d491c63c553aff62c2a7 (diff)
ansi and some missing protos
Diffstat (limited to 'sys/lib/libkern/muldi3.c')
-rw-r--r--sys/lib/libkern/muldi3.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/lib/libkern/muldi3.c b/sys/lib/libkern/muldi3.c
index 9c7ab1b55ae..7fafbc10da5 100644
--- a/sys/lib/libkern/muldi3.c
+++ b/sys/lib/libkern/muldi3.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: muldi3.c,v 1.5 2003/06/02 23:28:08 millert Exp $ */
+/* $OpenBSD: muldi3.c,v 1.6 2004/08/07 00:38:32 deraadt Exp $ */
/* $NetBSD: muldi3.c,v 1.5 1995/10/07 09:26:33 mycroft Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)muldi3.c 8.1 (Berkeley) 6/4/93";
#else
-static char rcsid[] = "$OpenBSD: muldi3.c,v 1.5 2003/06/02 23:28:08 millert Exp $";
+static char rcsid[] = "$OpenBSD: muldi3.c,v 1.6 2004/08/07 00:38:32 deraadt Exp $";
#endif
#endif /* LIBC_SCCS and not lint */
@@ -104,12 +104,11 @@ static char rcsid[] = "$OpenBSD: muldi3.c,v 1.5 2003/06/02 23:28:08 millert Exp
static quad_t __lmulq(u_long, u_long);
quad_t
-__muldi3(a, b)
- quad_t a, b;
+__muldi3(quad_t a, quad_t b)
{
union uu u, v, low, prod;
- register u_long high, mid, udiff, vdiff;
- register int negall, negmid;
+ u_long high, mid, udiff, vdiff;
+ int negall, negmid;
#define u1 u.ul[H]
#define u0 u.ul[L]
#define v1 v.ul[H]