summaryrefslogtreecommitdiffstats
path: root/lib/msun/src/s_tanh.c
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-05-28 17:51:46 +0000
committeralfred <alfred@FreeBSD.org>2002-05-28 17:51:46 +0000
commit0b8481982efa5a2fbb83aa12204256ce07220437 (patch)
tree8cb4143d5f74c1c235f3d5ef0547bdf3f395a536 /lib/msun/src/s_tanh.c
parentd6fede3824f3a355c70642befd5bc0ec0d78ff1a (diff)
downloadFreeBSD-src-0b8481982efa5a2fbb83aa12204256ce07220437.zip
FreeBSD-src-0b8481982efa5a2fbb83aa12204256ce07220437.tar.gz
Assume __STDC__, remove non-__STDC__ code.
Reviewed by: md5
Diffstat (limited to 'lib/msun/src/s_tanh.c')
-rw-r--r--lib/msun/src/s_tanh.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/msun/src/s_tanh.c b/lib/msun/src/s_tanh.c
index 4f58fcf..01b4f61 100644
--- a/lib/msun/src/s_tanh.c
+++ b/lib/msun/src/s_tanh.c
@@ -41,18 +41,9 @@ static char rcsid[] = "$FreeBSD$";
#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 t,z;
int32_t jx,ix;
OpenPOWER on IntegriCloud