summaryrefslogtreecommitdiff
path: root/libm/s_fdim.c
diff options
context:
space:
mode:
Diffstat (limited to 'libm/s_fdim.c')
-rw-r--r--libm/s_fdim.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libm/s_fdim.c b/libm/s_fdim.c
index 98f140d17..6249219c8 100644
--- a/libm/s_fdim.c
+++ b/libm/s_fdim.c
@@ -7,13 +7,7 @@
#include "math.h"
#include "math_private.h"
-#ifdef __STDC__
- double fdim(double x, double y)
-#else
- double fdim(x,y)
- double x;
- double y;
-#endif
+double fdim(double x, double y)
{
int c = __fpclassify(x);
if (c == FP_NAN || c == FP_INFINITE)