diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-10-17 17:49:22 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-10-17 17:49:22 +0000 |
commit | 86c75be707ab0f7aad0211928afdefc9b2e5ddf5 (patch) | |
tree | 0ca5bbbf4a5cbff3c9e715b41217cbe124f40637 /lib | |
parent | 4bd07aa2e8e421555e7e2b4188e51d9a85f9e617 (diff) |
ansify. ok millert@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/quad/adddi3.c | 5 | ||||
-rw-r--r-- | lib/libc/quad/anddi3.c | 5 | ||||
-rw-r--r-- | lib/libc/quad/ashldi3.c | 6 | ||||
-rw-r--r-- | lib/libc/quad/ashrdi3.c | 6 | ||||
-rw-r--r-- | lib/libc/quad/cmpdi2.c | 5 | ||||
-rw-r--r-- | lib/libc/quad/divdi3.c | 5 | ||||
-rw-r--r-- | lib/libc/quad/fixdfdi.c | 5 | ||||
-rw-r--r-- | lib/libc/quad/fixunsdfdi.c | 5 | ||||
-rw-r--r-- | lib/libc/quad/floatdidf.c | 5 | ||||
-rw-r--r-- | lib/libc/quad/floatdisf.c | 5 | ||||
-rw-r--r-- | lib/libc/quad/floatunsdidf.c | 5 | ||||
-rw-r--r-- | lib/libc/quad/iordi3.c | 5 | ||||
-rw-r--r-- | lib/libc/quad/lshldi3.c | 6 | ||||
-rw-r--r-- | lib/libc/quad/lshrdi3.c | 6 | ||||
-rw-r--r-- | lib/libc/quad/moddi3.c | 5 | ||||
-rw-r--r-- | lib/libc/quad/negdi2.c | 5 | ||||
-rw-r--r-- | lib/libc/quad/notdi2.c | 5 | ||||
-rw-r--r-- | lib/libc/quad/qdivrem.c | 5 | ||||
-rw-r--r-- | lib/libc/quad/subdi3.c | 5 | ||||
-rw-r--r-- | lib/libc/quad/ucmpdi2.c | 5 | ||||
-rw-r--r-- | lib/libc/quad/udivdi3.c | 5 | ||||
-rw-r--r-- | lib/libc/quad/umoddi3.c | 5 | ||||
-rw-r--r-- | lib/libc/quad/xordi3.c | 5 |
23 files changed, 46 insertions, 73 deletions
diff --git a/lib/libc/quad/adddi3.c b/lib/libc/quad/adddi3.c index 31f0efdb877..f10689bb8d4 100644 --- a/lib/libc/quad/adddi3.c +++ b/lib/libc/quad/adddi3.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: adddi3.c,v 1.4 2004/04/27 17:46:46 otto Exp $"; +static char rcsid[] = "$OpenBSD: adddi3.c,v 1.5 2004/10/17 17:49:21 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #include "quad.h" @@ -43,8 +43,7 @@ static char rcsid[] = "$OpenBSD: adddi3.c,v 1.4 2004/04/27 17:46:46 otto Exp $"; * either x or y (the choice to compare with x or y is arbitrary). */ quad_t -__adddi3(a, b) - quad_t a, b; +__adddi3(quad_t a, quad_t b) { union uu aa, bb, sum; diff --git a/lib/libc/quad/anddi3.c b/lib/libc/quad/anddi3.c index 771038410a1..f404051a522 100644 --- a/lib/libc/quad/anddi3.c +++ b/lib/libc/quad/anddi3.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: anddi3.c,v 1.3 2003/06/02 20:18:36 millert Exp $"; +static char rcsid[] = "$OpenBSD: anddi3.c,v 1.4 2004/10/17 17:49:21 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #include "quad.h" @@ -41,8 +41,7 @@ static char rcsid[] = "$OpenBSD: anddi3.c,v 1.3 2003/06/02 20:18:36 millert Exp * Return a & b, in quad. */ quad_t -__anddi3(a, b) - quad_t a, b; +__anddi3(quad_t a, quad_t b) { union uu aa, bb; diff --git a/lib/libc/quad/ashldi3.c b/lib/libc/quad/ashldi3.c index 8a1335a35a0..09ba618f405 100644 --- a/lib/libc/quad/ashldi3.c +++ b/lib/libc/quad/ashldi3.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: ashldi3.c,v 1.4 2004/04/27 17:46:46 otto Exp $"; +static char rcsid[] = "$OpenBSD: ashldi3.c,v 1.5 2004/10/17 17:49:21 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #include "quad.h" @@ -42,9 +42,7 @@ static char rcsid[] = "$OpenBSD: ashldi3.c,v 1.4 2004/04/27 17:46:46 otto Exp $" * This is the same as logical shift left! */ quad_t -__ashldi3(a, shift) - quad_t a; - qshift_t shift; +__ashldi3(quad_t a, qshift_t shift) { union uu aa; diff --git a/lib/libc/quad/ashrdi3.c b/lib/libc/quad/ashrdi3.c index 9b8c0ab5ee0..6c1b1c1639c 100644 --- a/lib/libc/quad/ashrdi3.c +++ b/lib/libc/quad/ashrdi3.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: ashrdi3.c,v 1.4 2004/04/27 17:46:46 otto Exp $"; +static char rcsid[] = "$OpenBSD: ashrdi3.c,v 1.5 2004/10/17 17:49:21 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #include "quad.h" @@ -41,9 +41,7 @@ static char rcsid[] = "$OpenBSD: ashrdi3.c,v 1.4 2004/04/27 17:46:46 otto Exp $" * Shift a (signed) quad value right (arithmetic shift right). */ quad_t -__ashrdi3(a, shift) - quad_t a; - qshift_t shift; +__ashrdi3(quad_t a, qshift_t shift) { union uu aa; diff --git a/lib/libc/quad/cmpdi2.c b/lib/libc/quad/cmpdi2.c index 0bd8d08f1fb..ade8b22ba5d 100644 --- a/lib/libc/quad/cmpdi2.c +++ b/lib/libc/quad/cmpdi2.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: cmpdi2.c,v 1.3 2003/06/02 20:18:36 millert Exp $"; +static char rcsid[] = "$OpenBSD: cmpdi2.c,v 1.4 2004/10/17 17:49:21 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #include "quad.h" @@ -43,8 +43,7 @@ static char rcsid[] = "$OpenBSD: cmpdi2.c,v 1.3 2003/06/02 20:18:36 millert Exp * signed. */ int -__cmpdi2(a, b) - quad_t a, b; +__cmpdi2(quad_t a, quad_t b) { union uu aa, bb; diff --git a/lib/libc/quad/divdi3.c b/lib/libc/quad/divdi3.c index b8b5eba4733..1ae5abd83eb 100644 --- a/lib/libc/quad/divdi3.c +++ b/lib/libc/quad/divdi3.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: divdi3.c,v 1.4 2004/04/27 17:46:46 otto Exp $"; +static char rcsid[] = "$OpenBSD: divdi3.c,v 1.5 2004/10/17 17:49:21 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #include "quad.h" @@ -42,8 +42,7 @@ static char rcsid[] = "$OpenBSD: divdi3.c,v 1.4 2004/04/27 17:46:46 otto 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 = 0; diff --git a/lib/libc/quad/fixdfdi.c b/lib/libc/quad/fixdfdi.c index a0933ef5871..c016946216a 100644 --- a/lib/libc/quad/fixdfdi.c +++ b/lib/libc/quad/fixdfdi.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: fixdfdi.c,v 1.3 2003/06/02 20:18:36 millert Exp $"; +static char rcsid[] = "$OpenBSD: fixdfdi.c,v 1.4 2004/10/17 17:49:21 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #include "quad.h" @@ -42,8 +42,7 @@ static char rcsid[] = "$OpenBSD: fixdfdi.c,v 1.3 2003/06/02 20:18:36 millert Exp * We clamp anything that is out of range. */ quad_t -__fixdfdi(x) - double x; +__fixdfdi(double x) { if (x < 0) if (x <= QUAD_MIN) diff --git a/lib/libc/quad/fixunsdfdi.c b/lib/libc/quad/fixunsdfdi.c index 7f1e093f9c8..79b11db3995 100644 --- a/lib/libc/quad/fixunsdfdi.c +++ b/lib/libc/quad/fixunsdfdi.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: fixunsdfdi.c,v 1.5 2004/04/27 17:46:46 otto Exp $"; +static char rcsid[] = "$OpenBSD: fixunsdfdi.c,v 1.6 2004/10/17 17:49:21 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #include "quad.h" @@ -47,8 +47,7 @@ static char rcsid[] = "$OpenBSD: fixunsdfdi.c,v 1.5 2004/04/27 17:46:46 otto Exp * of range becomes UQUAD_MAX. */ u_quad_t -__fixunsdfdi(x) - double x; +__fixunsdfdi(double x) { union uu t; unsigned int tmp; diff --git a/lib/libc/quad/floatdidf.c b/lib/libc/quad/floatdidf.c index 391de2b42ef..55ef9fab07a 100644 --- a/lib/libc/quad/floatdidf.c +++ b/lib/libc/quad/floatdidf.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: floatdidf.c,v 1.4 2004/04/27 17:46:46 otto Exp $"; +static char rcsid[] = "$OpenBSD: floatdidf.c,v 1.5 2004/10/17 17:49:21 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #include "quad.h" @@ -41,8 +41,7 @@ static char rcsid[] = "$OpenBSD: floatdidf.c,v 1.4 2004/04/27 17:46:46 otto Exp * Convert (signed) quad to double. */ double -__floatdidf(x) - quad_t x; +__floatdidf(quad_t x) { double d; union uu u; diff --git a/lib/libc/quad/floatdisf.c b/lib/libc/quad/floatdisf.c index 441d72a90c1..24dd148175b 100644 --- a/lib/libc/quad/floatdisf.c +++ b/lib/libc/quad/floatdisf.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: floatdisf.c,v 1.4 2004/04/27 17:46:46 otto Exp $"; +static char rcsid[] = "$OpenBSD: floatdisf.c,v 1.5 2004/10/17 17:49:21 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #include "quad.h" @@ -41,8 +41,7 @@ static char rcsid[] = "$OpenBSD: floatdisf.c,v 1.4 2004/04/27 17:46:46 otto Exp * Convert (signed) quad to float. */ float -__floatdisf(x) - quad_t x; +__floatdisf(quad_t x) { float f; union uu u; diff --git a/lib/libc/quad/floatunsdidf.c b/lib/libc/quad/floatunsdidf.c index 37028adbbf0..e2f1e99f08a 100644 --- a/lib/libc/quad/floatunsdidf.c +++ b/lib/libc/quad/floatunsdidf.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: floatunsdidf.c,v 1.4 2004/04/27 17:46:46 otto Exp $"; +static char rcsid[] = "$OpenBSD: floatunsdidf.c,v 1.5 2004/10/17 17:49:21 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #include "quad.h" @@ -42,8 +42,7 @@ static char rcsid[] = "$OpenBSD: floatunsdidf.c,v 1.4 2004/04/27 17:46:46 otto E * This is exactly like floatdidf.c except that negatives never occur. */ double -__floatunsdidf(x) - u_quad_t x; +__floatunsdidf(u_quad_t x) { double d; union uu u; diff --git a/lib/libc/quad/iordi3.c b/lib/libc/quad/iordi3.c index 201c7c146c0..d044ce96e81 100644 --- a/lib/libc/quad/iordi3.c +++ b/lib/libc/quad/iordi3.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: iordi3.c,v 1.3 2003/06/02 20:18:36 millert Exp $"; +static char rcsid[] = "$OpenBSD: iordi3.c,v 1.4 2004/10/17 17:49:21 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #include "quad.h" @@ -41,8 +41,7 @@ static char rcsid[] = "$OpenBSD: iordi3.c,v 1.3 2003/06/02 20:18:36 millert Exp * Return a | b, in quad. */ quad_t -__iordi3(a, b) - quad_t a, b; +__iordi3(quad_t a, quad_t b) { union uu aa, bb; diff --git a/lib/libc/quad/lshldi3.c b/lib/libc/quad/lshldi3.c index 5fcde989367..43abdf5d18b 100644 --- a/lib/libc/quad/lshldi3.c +++ b/lib/libc/quad/lshldi3.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: lshldi3.c,v 1.4 2004/04/27 17:46:46 otto Exp $"; +static char rcsid[] = "$OpenBSD: lshldi3.c,v 1.5 2004/10/17 17:49:21 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #include "quad.h" @@ -42,9 +42,7 @@ static char rcsid[] = "$OpenBSD: lshldi3.c,v 1.4 2004/04/27 17:46:46 otto Exp $" * This is the same as arithmetic shift left! */ quad_t -__lshldi3(a, shift) - quad_t a; - qshift_t shift; +__lshldi3(quad_t a, qshift_t shift) { union uu aa; diff --git a/lib/libc/quad/lshrdi3.c b/lib/libc/quad/lshrdi3.c index 0df0304baf6..c4fbb8cb047 100644 --- a/lib/libc/quad/lshrdi3.c +++ b/lib/libc/quad/lshrdi3.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: lshrdi3.c,v 1.4 2004/04/27 17:46:46 otto Exp $"; +static char rcsid[] = "$OpenBSD: lshrdi3.c,v 1.5 2004/10/17 17:49:21 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #include "quad.h" @@ -41,9 +41,7 @@ static char rcsid[] = "$OpenBSD: lshrdi3.c,v 1.4 2004/04/27 17:46:46 otto Exp $" * Shift an (unsigned) quad value right (logical shift right). */ quad_t -__lshrdi3(a, shift) - quad_t a; - qshift_t shift; +__lshrdi3(quad_t a, qshift_t shift) { union uu aa; diff --git a/lib/libc/quad/moddi3.c b/lib/libc/quad/moddi3.c index 0d4517766ab..b9c1db58423 100644 --- a/lib/libc/quad/moddi3.c +++ b/lib/libc/quad/moddi3.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: moddi3.c,v 1.4 2004/04/27 17:46:46 otto Exp $"; +static char rcsid[] = "$OpenBSD: moddi3.c,v 1.5 2004/10/17 17:49:21 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #include "quad.h" @@ -43,8 +43,7 @@ static char rcsid[] = "$OpenBSD: moddi3.c,v 1.4 2004/04/27 17:46:46 otto Exp $"; * XXX we assume a % b < 0 iff a < 0, but this is actually machine-dependent. */ quad_t -__moddi3(a, b) - quad_t a, b; +__moddi3(quad_t a, quad_t b) { u_quad_t ua, ub, ur; int neg = 0; diff --git a/lib/libc/quad/negdi2.c b/lib/libc/quad/negdi2.c index 89933f4a160..860cd71bb18 100644 --- a/lib/libc/quad/negdi2.c +++ b/lib/libc/quad/negdi2.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: negdi2.c,v 1.3 2003/06/02 20:18:36 millert Exp $"; +static char rcsid[] = "$OpenBSD: negdi2.c,v 1.4 2004/10/17 17:49:21 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #include "quad.h" @@ -41,8 +41,7 @@ static char rcsid[] = "$OpenBSD: negdi2.c,v 1.3 2003/06/02 20:18:36 millert Exp * Return -a (or, equivalently, 0 - a), in quad. See subdi3.c. */ quad_t -__negdi2(a) - quad_t a; +__negdi2(quad_t a) { union uu aa, res; diff --git a/lib/libc/quad/notdi2.c b/lib/libc/quad/notdi2.c index 7bd6d935e3c..bada11843f7 100644 --- a/lib/libc/quad/notdi2.c +++ b/lib/libc/quad/notdi2.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: notdi2.c,v 1.3 2003/06/02 20:18:36 millert Exp $"; +static char rcsid[] = "$OpenBSD: notdi2.c,v 1.4 2004/10/17 17:49:21 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #include "quad.h" @@ -42,8 +42,7 @@ static char rcsid[] = "$OpenBSD: notdi2.c,v 1.3 2003/06/02 20:18:36 millert Exp * than `not'. */ quad_t -__one_cmpldi2(a) - quad_t a; +__one_cmpldi2(quad_t a) { union uu aa; diff --git a/lib/libc/quad/qdivrem.c b/lib/libc/quad/qdivrem.c index ac666c25707..c52d44aad2a 100644 --- a/lib/libc/quad/qdivrem.c +++ b/lib/libc/quad/qdivrem.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: qdivrem.c,v 1.5 2004/04/27 17:46:46 otto Exp $"; +static char rcsid[] = "$OpenBSD: qdivrem.c,v 1.6 2004/10/17 17:49:21 otto Exp $"; #endif /* LIBC_SCCS and not lint */ /* @@ -65,8 +65,7 @@ static void shl __P((digit *p, int len, int sh)); * leading zeros). */ u_quad_t -__qdivrem(uq, vq, arq) - u_quad_t uq, vq, *arq; +__qdivrem(u_quad_t uq, u_quad_t vq, u_quad_t *arq) { union uu tmp; digit *u, *v, *q; diff --git a/lib/libc/quad/subdi3.c b/lib/libc/quad/subdi3.c index 7a2ce98344c..f9d17bff79c 100644 --- a/lib/libc/quad/subdi3.c +++ b/lib/libc/quad/subdi3.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: subdi3.c,v 1.4 2004/04/27 17:46:46 otto Exp $"; +static char rcsid[] = "$OpenBSD: subdi3.c,v 1.5 2004/10/17 17:49:21 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #include "quad.h" @@ -42,8 +42,7 @@ static char rcsid[] = "$OpenBSD: subdi3.c,v 1.4 2004/04/27 17:46:46 otto Exp $"; * from a single u_int 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; diff --git a/lib/libc/quad/ucmpdi2.c b/lib/libc/quad/ucmpdi2.c index b514ebe400a..598d9f139a7 100644 --- a/lib/libc/quad/ucmpdi2.c +++ b/lib/libc/quad/ucmpdi2.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: ucmpdi2.c,v 1.3 2003/06/02 20:18:36 millert Exp $"; +static char rcsid[] = "$OpenBSD: ucmpdi2.c,v 1.4 2004/10/17 17:49:21 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #include "quad.h" @@ -42,8 +42,7 @@ static char rcsid[] = "$OpenBSD: ucmpdi2.c,v 1.3 2003/06/02 20:18:36 millert Exp * Neither a nor b are considered signed. */ int -__ucmpdi2(a, b) - u_quad_t a, b; +__ucmpdi2(u_quad_t a, u_quad_t b) { union uu aa, bb; diff --git a/lib/libc/quad/udivdi3.c b/lib/libc/quad/udivdi3.c index 46d1d3a5623..0801d6f71eb 100644 --- a/lib/libc/quad/udivdi3.c +++ b/lib/libc/quad/udivdi3.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: udivdi3.c,v 1.3 2003/06/02 20:18:36 millert Exp $"; +static char rcsid[] = "$OpenBSD: udivdi3.c,v 1.4 2004/10/17 17:49:21 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #include "quad.h" @@ -41,8 +41,7 @@ static char rcsid[] = "$OpenBSD: udivdi3.c,v 1.3 2003/06/02 20:18:36 millert Exp * Divide two unsigned quads. */ u_quad_t -__udivdi3(a, b) - u_quad_t a, b; +__udivdi3(u_quad_t a, u_quad_t b) { return (__qdivrem(a, b, (u_quad_t *)0)); diff --git a/lib/libc/quad/umoddi3.c b/lib/libc/quad/umoddi3.c index f05046a997e..098bb4c340d 100644 --- a/lib/libc/quad/umoddi3.c +++ b/lib/libc/quad/umoddi3.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: umoddi3.c,v 1.3 2003/06/02 20:18:36 millert Exp $"; +static char rcsid[] = "$OpenBSD: umoddi3.c,v 1.4 2004/10/17 17:49:21 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #include "quad.h" @@ -41,8 +41,7 @@ static char rcsid[] = "$OpenBSD: umoddi3.c,v 1.3 2003/06/02 20:18:36 millert Exp * Return remainder after dividing two unsigned quads. */ u_quad_t -__umoddi3(a, b) - u_quad_t a, b; +__umoddi3(u_quad_t a, u_quad_t b) { u_quad_t r; diff --git a/lib/libc/quad/xordi3.c b/lib/libc/quad/xordi3.c index f41d494c781..603a76a55b5 100644 --- a/lib/libc/quad/xordi3.c +++ b/lib/libc/quad/xordi3.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: xordi3.c,v 1.3 2003/06/02 20:18:36 millert Exp $"; +static char rcsid[] = "$OpenBSD: xordi3.c,v 1.4 2004/10/17 17:49:21 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #include "quad.h" @@ -41,8 +41,7 @@ static char rcsid[] = "$OpenBSD: xordi3.c,v 1.3 2003/06/02 20:18:36 millert Exp * Return a ^ b, in quad. */ quad_t -__xordi3(a, b) - quad_t a, b; +__xordi3(quad_t a, quad_t b) { union uu aa, bb; |