Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Dec 2010 23:50:49 +0000 (UTC)
From:      David Schultz <das@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r216221 - head/tools/regression/lib/msun
Message-ID:  <201012052350.oB5NonON013461@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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[] = {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012052350.oB5NonON013461>