From c1efcc0baa107ce6321d774db5245e77ed64cf14 Mon Sep 17 00:00:00 2001 From: das Date: Sun, 5 Dec 2010 23:50:49 +0000 Subject: Fix some warnings. --- tools/regression/lib/msun/test-fmaxmin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/regression/lib') 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[] = { -- cgit v1.1