summaryrefslogtreecommitdiffstats
path: root/libm/s_fdim.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-12-22 16:09:40 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-12-22 16:09:40 +0000
commit8f526af0d9a563797ad8ba28cd305476b842e9be (patch)
tree4bcbc9be762ebe49d50a167bceb91ddbbfd61702 /libm/s_fdim.c
parentd124a091433d07a9a567c0738cf3d2df2a416c2f (diff)
downloaduClibc-alpine-8f526af0d9a563797ad8ba28cd305476b842e9be.tar.bz2
uClibc-alpine-8f526af0d9a563797ad8ba28cd305476b842e9be.tar.xz
- sync with trunk @r24492
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)