summaryrefslogtreecommitdiff
path: root/libm/s_isnan.c
diff options
context:
space:
mode:
Diffstat (limited to 'libm/s_isnan.c')
-rw-r--r--libm/s_isnan.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/libm/s_isnan.c b/libm/s_isnan.c
index 671c5cb2e..51ed94e04 100644
--- a/libm/s_isnan.c
+++ b/libm/s_isnan.c
@@ -18,12 +18,7 @@
#include "math.h"
#include "math_private.h"
-#ifdef __STDC__
- int __isnan(double x)
-#else
- int __isnan(x)
- double x;
-#endif
+int __isnan(double x)
{
int32_t hx,lx;
EXTRACT_WORDS(hx,lx,x);
@@ -33,5 +28,3 @@
return (int)(((u_int32_t)hx)>>31);
}
libm_hidden_def(__isnan)
-weak_alias(__isnan,isnan)
-libm_hidden_weak(isnan)