diff options
author | das <das@FreeBSD.org> | 2010-12-05 23:50:49 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2010-12-05 23:50:49 +0000 |
commit | c1efcc0baa107ce6321d774db5245e77ed64cf14 (patch) | |
tree | 2706378c888d14e89403715f7e3ce6783ed2773e /tools | |
parent | 0c87a741dcb662392e300caa455767e563990ee7 (diff) | |
download | FreeBSD-src-c1efcc0baa107ce6321d774db5245e77ed64cf14.zip FreeBSD-src-c1efcc0baa107ce6321d774db5245e77ed64cf14.tar.gz |
Fix some warnings.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/regression/lib/msun/test-fmaxmin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/regression/lib/msun/test-fmaxmin.c b/tools/regression/lib/msun/test-fmaxmin.c index f1e0a7e..4734186 100644 --- a/tools/regression/lib/msun/test-fmaxmin.c +++ b/tools/regression/lib/msun/test-fmaxmin.c @@ -46,7 +46,7 @@ __FBSDID("$FreeBSD$"); * fpequal(NaN, NaN) is true * fpequal(+0.0, -0.0) is false */ -inline int +static inline int fpequal(long double x, long double y) { @@ -63,7 +63,7 @@ fpequal(long double x, long double y) feclearexcept(ALL_STD_EXCEPT); \ long double __result = func((__x), (__y)); \ if (fetestexcept(ALL_STD_EXCEPT)) { \ - fprintf(stderr, #func "(%L.20g, %L.20g) raised 0x%x\n", \ + fprintf(stderr, #func "(%.20Lg, %.20Lg) raised 0x%x\n", \ (x), (y), fetestexcept(FE_ALL_EXCEPT)); \ ok = 0; \ } \ @@ -104,7 +104,7 @@ testall_r(long double big, long double small) * in all rounding modes and with the arguments in different orders. * The input 'big' must be >= 'small'. */ -int +void testall(int testnum, long double big, long double small) { static const int rmodes[] = { |