aboutsummaryrefslogtreecommitdiff
path: root/math/s_ldexpf.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-01-27 17:27:55 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-01-27 17:29:45 +0000
commit8db218828187d58575c509b6ed3da0cad9f73519 (patch)
tree193c89c1df3a62941623e77426285d802a2cfcd2 /math/s_ldexpf.c
parent43455e09166350b1237d2168d1b008c9f47ebaf0 (diff)
downloadglibc-8db218828187d58575c509b6ed3da0cad9f73519.tar
glibc-8db218828187d58575c509b6ed3da0cad9f73519.tar.gz
glibc-8db218828187d58575c509b6ed3da0cad9f73519.tar.bz2
glibc-8db218828187d58575c509b6ed3da0cad9f73519.zip
Remove __STDC__ conditionals from libm.
Diffstat (limited to 'math/s_ldexpf.c')
-rw-r--r--math/s_ldexpf.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/math/s_ldexpf.c b/math/s_ldexpf.c
index f312bfe5ff..b105e293cc 100644
--- a/math/s_ldexpf.c
+++ b/math/s_ldexpf.c
@@ -21,12 +21,7 @@ static char rcsid[] = "$NetBSD: s_ldexpf.c,v 1.3 1995/05/10 20:47:42 jtc Exp $";
#include <math_private.h>
#include <errno.h>
-#ifdef __STDC__
- float __ldexpf(float value, int exp)
-#else
- float __ldexpf(value, exp)
- float value; int exp;
-#endif
+float __ldexpf(float value, int exp)
{
if(!__finitef(value)||value==(float)0.0) return value;
value = __scalbnf(value,exp);