diff options
author | kaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk> | 2004-01-25 03:00:54 +0000 |
---|---|---|
committer | kaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk> | 2004-01-25 03:00:54 +0000 |
commit | b88b24c645cf013a9dad3f70ba4ef23369ad1191 (patch) | |
tree | eb4850a31db982eb5e506deae46198843e81846a /extras/mini-os/lib/math.c | |
parent | 586dfe5b407d4feecd8407a70492ad813aaac2d2 (diff) | |
download | xen-b88b24c645cf013a9dad3f70ba4ef23369ad1191.tar.gz xen-b88b24c645cf013a9dad3f70ba4ef23369ad1191.tar.bz2 xen-b88b24c645cf013a9dad3f70ba4ef23369ad1191.zip |
bitkeeper revision 1.694 (40133166fMqipwBHlUP1QVHEO6EEOg)
Many files:
From Kip Macy, we now are stricter when compiling the mini os.
Diffstat (limited to 'extras/mini-os/lib/math.c')
-rw-r--r-- | extras/mini-os/lib/math.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/extras/mini-os/lib/math.c b/extras/mini-os/lib/math.c index 29e1cc933e..be08740965 100644 --- a/extras/mini-os/lib/math.c +++ b/extras/mini-os/lib/math.c @@ -140,8 +140,7 @@ shl(register digit *p, register int len, register int sh) * leading zeros). */ u64 -__qdivrem(uq, vq, arq) - u64 uq, vq, *arq; +__qdivrem(u64 uq, u64 vq, u64 *arq) { union uu tmp; digit *u, *v, *q; @@ -363,8 +362,7 @@ __divdi3(s64 a, s64 b) * Divide two unsigned quads. */ u64 -__udivdi3(a, b) - u64 a, b; +__udivdi3(u64 a, u64 b) { return (__qdivrem(a, b, (u64 *)0)); } @@ -374,8 +372,7 @@ __udivdi3(a, b) * 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; |