svn commit: r216221 - head/tools/regression/lib/msun
David Schultz
das at FreeBSD.org
Sun Dec 5 23:50:49 UTC 2010
Author: das
Date: Sun Dec 5 23:50:49 2010
New Revision: 216221
URL: http://svn.freebsd.org/changeset/base/216221
Log:
Fix some warnings.
Modified:
head/tools/regression/lib/msun/test-fmaxmin.c
Modified: head/tools/regression/lib/msun/test-fmaxmin.c
==============================================================================
--- head/tools/regression/lib/msun/test-fmaxmin.c Sun Dec 5 22:56:46 2010 (r216220)
+++ head/tools/regression/lib/msun/test-fmaxmin.c Sun Dec 5 23:50:49 2010 (r216221)
@@ -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 s
* 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[] = {
More information about the svn-src-all
mailing list