diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-01-27 17:27:55 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-01-27 17:29:45 +0000 |
commit | 8db218828187d58575c509b6ed3da0cad9f73519 (patch) | |
tree | 193c89c1df3a62941623e77426285d802a2cfcd2 /sysdeps/ieee754/dbl-64/s_tanh.c | |
parent | 43455e09166350b1237d2168d1b008c9f47ebaf0 (diff) | |
download | glibc-8db218828187d58575c509b6ed3da0cad9f73519.tar.gz glibc-8db218828187d58575c509b6ed3da0cad9f73519.tar.xz glibc-8db218828187d58575c509b6ed3da0cad9f73519.zip |
Remove __STDC__ conditionals from libm.
Diffstat (limited to 'sysdeps/ieee754/dbl-64/s_tanh.c')
-rw-r--r-- | sysdeps/ieee754/dbl-64/s_tanh.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sysdeps/ieee754/dbl-64/s_tanh.c b/sysdeps/ieee754/dbl-64/s_tanh.c index 944f96386f..63ef4b88a4 100644 --- a/sysdeps/ieee754/dbl-64/s_tanh.c +++ b/sysdeps/ieee754/dbl-64/s_tanh.c @@ -41,18 +41,9 @@ static char rcsid[] = "$NetBSD: s_tanh.c,v 1.7 1995/05/10 20:48:22 jtc Exp $"; #include "math.h" #include "math_private.h" -#ifdef __STDC__ static const double one=1.0, two=2.0, tiny = 1.0e-300; -#else -static double one=1.0, two=2.0, tiny = 1.0e-300; -#endif -#ifdef __STDC__ - double __tanh(double x) -#else - double __tanh(x) - double x; -#endif +double __tanh(double x) { double t,z; int32_t jx,ix,lx; |