Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2003-07-09 21:52:31 +0400
committerAlexandre Oliva <aoliva@redhat.com>2003-07-09 21:52:31 +0400
commit03d65dd99ba593d2dab1a8151fa7766b650755ac (patch)
treea5694d92c663d4d6ab36f0334bcea7ba0032fbf9 /newlib/libc/sys
parent4d782b426a09120642906e12e21bf669b7bb77db (diff)
* libc/include/math.h (nan, nanf): Update prototype to C99.
* libm/common/s_nan.c (nan): Likewise. * libm/common/s_nanf.c (nanf, nan): Likewise. * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
Diffstat (limited to 'newlib/libc/sys')
-rw-r--r--newlib/libc/sys/linux/cmath/math_private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/sys/linux/cmath/math_private.h b/newlib/libc/sys/linux/cmath/math_private.h
index 6c4a472cf..148376c44 100644
--- a/newlib/libc/sys/linux/cmath/math_private.h
+++ b/newlib/libc/sys/linux/cmath/math_private.h
@@ -24,14 +24,14 @@
#define INFINITY HUGE_VALF
-#define __nan(x) nan()
+#define __nan nan
#define __isnan isnan
#define __isinf isinf
#define __copysignf copysignf
#define __copysign copysign
#define __isnanf isnanf
#define __isinff isinff
-#define __nanf(x) nanf()
+#define __nanf nanf
#define feraiseexcept(x) /* nothing */
#define __sincos sincos
#define __sincosf sincosf