diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2014-07-01 20:21:18 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2014-07-01 20:21:18 +0000 |
commit | 298922e69bd699192a3b91432235af2583312dca (patch) | |
tree | 2ff907d8fd8cbdf1ac5395076469e1233822a1bc /sys/lib | |
parent | 8de4ac2826261a48c5270b9773f0f82be3a5e955 (diff) |
Make normalizeRoundAndPackFloat{32,64} non-static; they will be used outside
of softfloat.c shortly.
Diffstat (limited to 'sys/lib')
-rw-r--r-- | sys/lib/libkern/softfloat.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/lib/libkern/softfloat.c b/sys/lib/libkern/softfloat.c index 45b93bd4282..238cb33c680 100644 --- a/sys/lib/libkern/softfloat.c +++ b/sys/lib/libkern/softfloat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softfloat.c,v 1.5 2012/12/05 23:20:22 deraadt Exp $ */ +/* $OpenBSD: softfloat.c,v 1.6 2014/07/01 20:21:17 miod Exp $ */ /* $NetBSD: softfloat.c,v 1.1 2001/04/26 03:10:47 ross Exp $ */ /* @@ -56,6 +56,9 @@ this code that are retained. #include "milieu.h" #include "softfloat.h" +float32 normalizeRoundAndPackFloat32(flag, int16, bits32); +float64 normalizeRoundAndPackFloat64(flag, int16, bits64); + /* * Conversions between floats as stored in memory and floats as * SoftFloat uses them @@ -416,7 +419,7 @@ Bit 31 of `zSig' must be zero, and `zExp' must be 1 less than the ``true'' floating-point exponent. ------------------------------------------------------------------------------- */ -static float32 +float32 normalizeRoundAndPackFloat32( flag zSign, int16 zExp, bits32 zSig ) { int8 shiftCount; @@ -588,7 +591,7 @@ Bit 63 of `zSig' must be zero, and `zExp' must be 1 less than the ``true'' floating-point exponent. ------------------------------------------------------------------------------- */ -static float64 +float64 normalizeRoundAndPackFloat64( flag zSign, int16 zExp, bits64 zSig ) { int8 shiftCount; |