summaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/ldbl-96/s_erfl.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-01-27 17:27:55 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-01-27 17:29:45 +0000
commit8db218828187d58575c509b6ed3da0cad9f73519 (patch)
tree193c89c1df3a62941623e77426285d802a2cfcd2 /sysdeps/ieee754/ldbl-96/s_erfl.c
parent43455e09166350b1237d2168d1b008c9f47ebaf0 (diff)
downloadglibc-8db218828187d58575c509b6ed3da0cad9f73519.tar.gz
Remove __STDC__ conditionals from libm.
Diffstat (limited to 'sysdeps/ieee754/ldbl-96/s_erfl.c')
-rw-r--r--sysdeps/ieee754/ldbl-96/s_erfl.c20
1 files changed, 2 insertions, 18 deletions
diff --git a/sysdeps/ieee754/ldbl-96/s_erfl.c b/sysdeps/ieee754/ldbl-96/s_erfl.c
index 7406c3624c..c614f10d73 100644
--- a/sysdeps/ieee754/ldbl-96/s_erfl.c
+++ b/sysdeps/ieee754/ldbl-96/s_erfl.c
@@ -107,11 +107,7 @@
#include "math.h"
#include "math_private.h"
-#ifdef __STDC__
static const long double
-#else
-static long double
-#endif
tiny = 1e-4931L,
half = 0.5L,
one = 1.0L,
@@ -253,14 +249,8 @@ tiny = 1e-4931L,
/* 1.000000000000000000000000000000000000000E0 */
};
-#ifdef __STDC__
long double
__erfl (long double x)
-#else
-long double
-__erfl (x)
- long double x;
-#endif
{
long double R, S, P, Q, s, y, z, r;
int32_t ix, i;
@@ -341,14 +331,8 @@ __erfl (x)
}
weak_alias (__erfl, erfl)
-#ifdef __STDC__
- long double
- __erfcl (long double x)
-#else
- long double
- __erfcl (x)
- long double x;
-#endif
+long double
+__erfcl (long double x)
{
int32_t hx, ix;
long double R, S, P, Q, s, y, z, r;