diff options
author | stefanf <stefanf@FreeBSD.org> | 2004-07-17 15:03:52 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2004-07-17 15:03:52 +0000 |
commit | b4a34b5b66eef422db85fa7a102ad35c9aa527e8 (patch) | |
tree | fb15efea6d04012f41984af033f7bddef5927657 /lib/msun/src | |
parent | 7eac47804ac14b8cee9ef876ab7c8b32244c201a (diff) | |
download | FreeBSD-src-b4a34b5b66eef422db85fa7a102ad35c9aa527e8.zip FreeBSD-src-b4a34b5b66eef422db85fa7a102ad35c9aa527e8.tar.gz |
Fix minor namespace pollution: The prototypes for f{dim,max,min}(),
nearbyint(), round() and trunc() shouldn't be visible when compiling with
-D_XOPEN_SOURCE=500.
Diffstat (limited to 'lib/msun/src')
-rw-r--r-- | lib/msun/src/math.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/msun/src/math.h b/lib/msun/src/math.h index 82c8559..76598e3 100644 --- a/lib/msun/src/math.h +++ b/lib/msun/src/math.h @@ -255,9 +255,6 @@ double cbrt(double) __pure2; double erf(double); double erfc(double) __pure2; double expm1(double) __pure2; -double fdim(double, double); -double fmax(double, double) __pure2; -double fmin(double, double) __pure2; double hypot(double, double); int ilogb(double); int (isinf)(double) __pure2; @@ -265,12 +262,9 @@ int (isnan)(double) __pure2; double lgamma(double); double log1p(double) __pure2; double logb(double) __pure2; -double nearbyint(double) __pure2; double nextafter(double, double); double remainder(double, double); double rint(double) __pure2; -double round(double); -double trunc(double); #endif /* __BSD_VISIBLE || __ISO_C_VISIBLE >= 1999 || __XSI_VISIBLE */ #if __BSD_VISIBLE || __XSI_VISIBLE @@ -289,9 +283,15 @@ double gamma(double); #if __BSD_VISIBLE || __ISO_C_VISIBLE >= 1999 double copysign(double, double) __pure2; +double fdim(double, double); +double fmax(double, double) __pure2; +double fmin(double, double) __pure2; +double nearbyint(double) __pure2; +double round(double); double scalbln(double, long); double scalbn(double, int); double tgamma(double); +double trunc(double); #endif /* |