summaryrefslogtreecommitdiffstats
path: root/lib/msun/src/e_fmod.c
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-05-28 17:03:12 +0000
committeralfred <alfred@FreeBSD.org>2002-05-28 17:03:12 +0000
commit1ee311b26d7122f860fe940db6ce46968981a9a3 (patch)
tree96c195652047b452e756960d6bdfc6786443c564 /lib/msun/src/e_fmod.c
parentae40c00e1724fe7d6584623e3a953b6b44fc741f (diff)
downloadFreeBSD-src-1ee311b26d7122f860fe940db6ce46968981a9a3.zip
FreeBSD-src-1ee311b26d7122f860fe940db6ce46968981a9a3.tar.gz
Assume __STDC__, remove non-__STDC__ code.
Submitted by: keramida
Diffstat (limited to 'lib/msun/src/e_fmod.c')
-rw-r--r--lib/msun/src/e_fmod.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/msun/src/e_fmod.c b/lib/msun/src/e_fmod.c
index f168630..48a2e95 100644
--- a/lib/msun/src/e_fmod.c
+++ b/lib/msun/src/e_fmod.c
@@ -23,18 +23,10 @@ static char rcsid[] = "$FreeBSD$";
#include "math.h"
#include "math_private.h"
-#ifdef __STDC__
static const double one = 1.0, Zero[] = {0.0, -0.0,};
-#else
-static double one = 1.0, Zero[] = {0.0, -0.0,};
-#endif
-#ifdef __STDC__
- double __generic___ieee754_fmod(double x, double y)
-#else
- double __generic___ieee754_fmod(x,y)
- double x,y ;
-#endif
+double
+__generic___ieee754_fmod(double x, double y)
{
int32_t n,hx,hy,hz,ix,iy,sx,i;
u_int32_t lx,ly,lz;
OpenPOWER on IntegriCloud