From 8db218828187d58575c509b6ed3da0cad9f73519 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 27 Jan 2012 17:27:55 +0000 Subject: Remove __STDC__ conditionals from libm. --- sysdeps/ieee754/flt-32/k_cosf.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'sysdeps/ieee754/flt-32/k_cosf.c') diff --git a/sysdeps/ieee754/flt-32/k_cosf.c b/sysdeps/ieee754/flt-32/k_cosf.c index b232cab11f..81259470e0 100644 --- a/sysdeps/ieee754/flt-32/k_cosf.c +++ b/sysdeps/ieee754/flt-32/k_cosf.c @@ -20,11 +20,7 @@ static char rcsid[] = "$NetBSD: k_cosf.c,v 1.4 1995/05/10 20:46:23 jtc Exp $"; #include "math.h" #include "math_private.h" -#ifdef __STDC__ static const float -#else -static float -#endif one = 1.0000000000e+00, /* 0x3f800000 */ C1 = 4.1666667908e-02, /* 0x3d2aaaab */ C2 = -1.3888889225e-03, /* 0xbab60b61 */ @@ -33,12 +29,7 @@ C4 = -2.7557314297e-07, /* 0xb493f27c */ C5 = 2.0875723372e-09, /* 0x310f74f6 */ C6 = -1.1359647598e-11; /* 0xad47d74e */ -#ifdef __STDC__ - float __kernel_cosf(float x, float y) -#else - float __kernel_cosf(x, y) - float x,y; -#endif +float __kernel_cosf(float x, float y) { float a,hz,z,r,qx; int32_t ix; -- cgit 1.4.1