diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2003-07-09 17:52:31 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2003-07-09 17:52:31 +0000 |
commit | 03d65dd99ba593d2dab1a8151fa7766b650755ac (patch) | |
tree | a5694d92c663d4d6ab36f0334bcea7ba0032fbf9 /newlib/libc/sys/linux | |
parent | 4d782b426a09120642906e12e21bf669b7bb77db (diff) | |
download | newlib-03d65dd99ba593d2dab1a8151fa7766b650755ac.zip newlib-03d65dd99ba593d2dab1a8151fa7766b650755ac.tar.gz newlib-03d65dd99ba593d2dab1a8151fa7766b650755ac.tar.bz2 |
* 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/linux')
-rw-r--r-- | newlib/libc/sys/linux/cmath/math_private.h | 4 |
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 6c4a472..148376c 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 |