diff options
author | Ed Maste <emaste@FreeBSD.org> | 2018-10-21 00:20:40 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2018-10-21 00:20:40 +0000 |
commit | 6492be46b884674009191e752d3eba7ebfee5592 (patch) | |
tree | 0e529269962f67718359e90e548483d3e260e5e2 | |
parent | ff9154be8b9eeb4e54c0b37008710b3785e5efdd (diff) | |
download | src-6492be46b884674009191e752d3eba7ebfee5592.tar.gz src-6492be46b884674009191e752d3eba7ebfee5592.zip |
Notes
-rw-r--r-- | lib/libc/quad/adddi3.c | 3 | ||||
-rw-r--r-- | lib/libc/quad/anddi3.c | 3 | ||||
-rw-r--r-- | lib/libc/quad/ashldi3.c | 4 | ||||
-rw-r--r-- | lib/libc/quad/ashrdi3.c | 4 | ||||
-rw-r--r-- | lib/libc/quad/cmpdi2.c | 3 | ||||
-rw-r--r-- | lib/libc/quad/divdi3.c | 3 | ||||
-rw-r--r-- | lib/libc/quad/fixdfdi.c | 3 | ||||
-rw-r--r-- | lib/libc/quad/fixunsdfdi.c | 3 | ||||
-rw-r--r-- | lib/libc/quad/floatdidf.c | 3 | ||||
-rw-r--r-- | lib/libc/quad/floatdisf.c | 3 | ||||
-rw-r--r-- | lib/libc/quad/floatunsdidf.c | 3 | ||||
-rw-r--r-- | lib/libc/quad/iordi3.c | 3 | ||||
-rw-r--r-- | lib/libc/quad/lshldi3.c | 4 | ||||
-rw-r--r-- | lib/libc/quad/lshrdi3.c | 4 | ||||
-rw-r--r-- | lib/libc/quad/moddi3.c | 3 | ||||
-rw-r--r-- | lib/libc/quad/muldi3.c | 3 | ||||
-rw-r--r-- | lib/libc/quad/negdi2.c | 3 | ||||
-rw-r--r-- | lib/libc/quad/notdi2.c | 3 | ||||
-rw-r--r-- | lib/libc/quad/qdivrem.c | 3 | ||||
-rw-r--r-- | lib/libc/quad/subdi3.c | 3 | ||||
-rw-r--r-- | lib/libc/quad/ucmpdi2.c | 3 | ||||
-rw-r--r-- | lib/libc/quad/udivdi3.c | 3 | ||||
-rw-r--r-- | lib/libc/quad/umoddi3.c | 3 | ||||
-rw-r--r-- | lib/libc/quad/xordi3.c | 3 |
24 files changed, 24 insertions, 52 deletions
diff --git a/lib/libc/quad/adddi3.c b/lib/libc/quad/adddi3.c index 5f3d897f9df6..6aaaf828ccb6 100644 --- a/lib/libc/quad/adddi3.c +++ b/lib/libc/quad/adddi3.c @@ -47,8 +47,7 @@ __FBSDID("$FreeBSD$"); * 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 5a5dc41a78cd..c0934571f2d3 100644 --- a/lib/libc/quad/anddi3.c +++ b/lib/libc/quad/anddi3.c @@ -45,8 +45,7 @@ __FBSDID("$FreeBSD$"); * 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 7b9e0df1c385..cec1ce7ca136 100644 --- a/lib/libc/quad/ashldi3.c +++ b/lib/libc/quad/ashldi3.c @@ -46,9 +46,7 @@ __FBSDID("$FreeBSD$"); * 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 a5e354684fbe..db471e413cd9 100644 --- a/lib/libc/quad/ashrdi3.c +++ b/lib/libc/quad/ashrdi3.c @@ -45,9 +45,7 @@ __FBSDID("$FreeBSD$"); * 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 1e34735d9bc2..08916702e1eb 100644 --- a/lib/libc/quad/cmpdi2.c +++ b/lib/libc/quad/cmpdi2.c @@ -47,8 +47,7 @@ __FBSDID("$FreeBSD$"); * 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 eab73c0bcfb7..c5b4a376477e 100644 --- a/lib/libc/quad/divdi3.c +++ b/lib/libc/quad/divdi3.c @@ -46,8 +46,7 @@ __FBSDID("$FreeBSD$"); * ??? 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; diff --git a/lib/libc/quad/fixdfdi.c b/lib/libc/quad/fixdfdi.c index fa13f5829c0e..51a1246bc055 100644 --- a/lib/libc/quad/fixdfdi.c +++ b/lib/libc/quad/fixdfdi.c @@ -46,8 +46,7 @@ __FBSDID("$FreeBSD$"); * 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 71a7a1544f54..ac7afc166967 100644 --- a/lib/libc/quad/fixunsdfdi.c +++ b/lib/libc/quad/fixunsdfdi.c @@ -51,8 +51,7 @@ __FBSDID("$FreeBSD$"); * of range becomes UQUAD_MAX. */ u_quad_t -__fixunsdfdi(x) - double x; +__fixunsdfdi(double x) { double toppart; union uu t; diff --git a/lib/libc/quad/floatdidf.c b/lib/libc/quad/floatdidf.c index da30520ffad7..78e368b34b2e 100644 --- a/lib/libc/quad/floatdidf.c +++ b/lib/libc/quad/floatdidf.c @@ -45,8 +45,7 @@ __FBSDID("$FreeBSD$"); * 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 f58f4ac6fbae..ea14bd34e834 100644 --- a/lib/libc/quad/floatdisf.c +++ b/lib/libc/quad/floatdisf.c @@ -45,8 +45,7 @@ __FBSDID("$FreeBSD$"); * 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 39dc2be1439f..bb21445757a7 100644 --- a/lib/libc/quad/floatunsdidf.c +++ b/lib/libc/quad/floatunsdidf.c @@ -46,8 +46,7 @@ __FBSDID("$FreeBSD$"); * 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 6cc3a4125841..7d3232645326 100644 --- a/lib/libc/quad/iordi3.c +++ b/lib/libc/quad/iordi3.c @@ -45,8 +45,7 @@ __FBSDID("$FreeBSD$"); * 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 0d0788af6c66..d8c7593d49ec 100644 --- a/lib/libc/quad/lshldi3.c +++ b/lib/libc/quad/lshldi3.c @@ -46,9 +46,7 @@ __FBSDID("$FreeBSD$"); * 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 1a21fe847784..05a2aa0540b0 100644 --- a/lib/libc/quad/lshrdi3.c +++ b/lib/libc/quad/lshrdi3.c @@ -45,9 +45,7 @@ __FBSDID("$FreeBSD$"); * 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 318fed33ba54..fc13b4da4067 100644 --- a/lib/libc/quad/moddi3.c +++ b/lib/libc/quad/moddi3.c @@ -48,8 +48,7 @@ __FBSDID("$FreeBSD$"); * 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; diff --git a/lib/libc/quad/muldi3.c b/lib/libc/quad/muldi3.c index 2f5f21005d0e..bb11ef798fb0 100644 --- a/lib/libc/quad/muldi3.c +++ b/lib/libc/quad/muldi3.c @@ -101,8 +101,7 @@ __FBSDID("$FreeBSD$"); 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; u_long high, mid, udiff, vdiff; diff --git a/lib/libc/quad/negdi2.c b/lib/libc/quad/negdi2.c index 793c63dee07f..476c32afb55e 100644 --- a/lib/libc/quad/negdi2.c +++ b/lib/libc/quad/negdi2.c @@ -45,8 +45,7 @@ __FBSDID("$FreeBSD$"); * 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 7d0186eb5ddd..18489f91b91f 100644 --- a/lib/libc/quad/notdi2.c +++ b/lib/libc/quad/notdi2.c @@ -46,8 +46,7 @@ __FBSDID("$FreeBSD$"); * 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 c9910732de6d..2f1760c047f9 100644 --- a/lib/libc/quad/qdivrem.c +++ b/lib/libc/quad/qdivrem.c @@ -82,8 +82,7 @@ shl(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 4cc9534c6b55..3622c323568c 100644 --- a/lib/libc/quad/subdi3.c +++ b/lib/libc/quad/subdi3.c @@ -46,8 +46,7 @@ __FBSDID("$FreeBSD$"); * 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; diff --git a/lib/libc/quad/ucmpdi2.c b/lib/libc/quad/ucmpdi2.c index 341676c596db..458f8ed00814 100644 --- a/lib/libc/quad/ucmpdi2.c +++ b/lib/libc/quad/ucmpdi2.c @@ -46,8 +46,7 @@ __FBSDID("$FreeBSD$"); * 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 1e9e7b87e73b..0e6f27edeb61 100644 --- a/lib/libc/quad/udivdi3.c +++ b/lib/libc/quad/udivdi3.c @@ -45,8 +45,7 @@ __FBSDID("$FreeBSD$"); * 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 f479fa3ef8a1..7f45134213ae 100644 --- a/lib/libc/quad/umoddi3.c +++ b/lib/libc/quad/umoddi3.c @@ -45,8 +45,7 @@ __FBSDID("$FreeBSD$"); * 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 ed289afe23a4..e956ade4607f 100644 --- a/lib/libc/quad/xordi3.c +++ b/lib/libc/quad/xordi3.c @@ -45,8 +45,7 @@ __FBSDID("$FreeBSD$"); * 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; |