aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386
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/i386
parent43455e09166350b1237d2168d1b008c9f47ebaf0 (diff)
downloadglibc-8db218828187d58575c509b6ed3da0cad9f73519.zip
glibc-8db218828187d58575c509b6ed3da0cad9f73519.tar.gz
glibc-8db218828187d58575c509b6ed3da0cad9f73519.tar.bz2
Remove __STDC__ conditionals from libm.
Diffstat (limited to 'sysdeps/i386')
-rw-r--r--sysdeps/i386/fpu/s_isinfl.c7
-rw-r--r--sysdeps/i386/fpu/s_isnanl.c7
-rw-r--r--sysdeps/i386/fpu/s_nextafterl.c7
-rw-r--r--sysdeps/i386/fpu/s_nexttoward.c8
-rw-r--r--sysdeps/i386/fpu/s_nexttowardf.c8
5 files changed, 5 insertions, 32 deletions
diff --git a/sysdeps/i386/fpu/s_isinfl.c b/sysdeps/i386/fpu/s_isinfl.c
index 72e4ae8..7c9a82b 100644
--- a/sysdeps/i386/fpu/s_isinfl.c
+++ b/sysdeps/i386/fpu/s_isinfl.c
@@ -17,12 +17,7 @@ static char rcsid[] = "$NetBSD: $";
#include "math.h"
#include "math_private.h"
-#ifdef __STDC__
- int __isinfl(long double x)
-#else
- int __isinfl(x)
- long double x;
-#endif
+int __isinfl(long double x)
{
int32_t se,hx,lx;
GET_LDOUBLE_WORDS(se,hx,lx,x);
diff --git a/sysdeps/i386/fpu/s_isnanl.c b/sysdeps/i386/fpu/s_isnanl.c
index aa45995..b00ee88 100644
--- a/sysdeps/i386/fpu/s_isnanl.c
+++ b/sysdeps/i386/fpu/s_isnanl.c
@@ -26,12 +26,7 @@ static char rcsid[] = "$NetBSD: $";
#include "math.h"
#include "math_private.h"
-#ifdef __STDC__
- int __isnanl(long double x)
-#else
- int __isnanl(x)
- long double x;
-#endif
+int __isnanl(long double x)
{
int32_t se,hx,lx;
GET_LDOUBLE_WORDS(se,hx,lx,x);
diff --git a/sysdeps/i386/fpu/s_nextafterl.c b/sysdeps/i386/fpu/s_nextafterl.c
index aef0a14..f0325b7 100644
--- a/sysdeps/i386/fpu/s_nextafterl.c
+++ b/sysdeps/i386/fpu/s_nextafterl.c
@@ -29,12 +29,7 @@ static char rcsid[] = "$NetBSD: $";
#include "math.h"
#include <math_private.h>
-#ifdef __STDC__
- long double __nextafterl(long double x, long double y)
-#else
- long double __nextafterl(x,y)
- long double x,y;
-#endif
+long double __nextafterl(long double x, long double y)
{
u_int32_t hx,hy,ix,iy;
u_int32_t lx,ly;
diff --git a/sysdeps/i386/fpu/s_nexttoward.c b/sysdeps/i386/fpu/s_nexttoward.c
index 9bd86a3..075d0fd 100644
--- a/sysdeps/i386/fpu/s_nexttoward.c
+++ b/sysdeps/i386/fpu/s_nexttoward.c
@@ -30,13 +30,7 @@ static char rcsid[] = "$NetBSD: $";
#include <math_private.h>
#include <float.h>
-#ifdef __STDC__
- double __nexttoward(double x, long double y)
-#else
- double __nexttoward(x,y)
- double x;
- long double y;
-#endif
+double __nexttoward(double x, long double y)
{
int32_t hx,ix,iy;
u_int32_t lx,hy,ly,esy;
diff --git a/sysdeps/i386/fpu/s_nexttowardf.c b/sysdeps/i386/fpu/s_nexttowardf.c
index 25f70e4..0a54040 100644
--- a/sysdeps/i386/fpu/s_nexttowardf.c
+++ b/sysdeps/i386/fpu/s_nexttowardf.c
@@ -22,13 +22,7 @@ static char rcsid[] = "$NetBSD: $";
#include <math_private.h>
#include <float.h>
-#ifdef __STDC__
- float __nexttowardf(float x, long double y)
-#else
- float __nexttowardf(x,y)
- float x;
- long double y;
-#endif
+float __nexttowardf(float x, long double y)
{
int32_t hx,ix,iy;
u_int32_t hy,ly,esy;