summaryrefslogtreecommitdiff
path: root/lib/libm/src/s_ldexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libm/src/s_ldexp.c')
-rw-r--r--lib/libm/src/s_ldexp.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/libm/src/s_ldexp.c b/lib/libm/src/s_ldexp.c
index 085823aea61..aeef0ba9b62 100644
--- a/lib/libm/src/s_ldexp.c
+++ b/lib/libm/src/s_ldexp.c
@@ -18,12 +18,8 @@ static char rcsid[] = "$NetBSD: s_ldexp.c,v 1.6 1995/05/10 20:47:40 jtc Exp $";
#include "math_private.h"
#include <errno.h>
-#ifdef __STDC__
- double ldexp(double value, int exp)
-#else
- double ldexp(value, exp)
- double value; int exp;
-#endif
+double
+ldexp(double value, int exp)
{
if(!finite(value)||value==0.0) return value;
value = scalbn(value,exp);