diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-01-27 17:27:55 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-01-27 17:29:45 +0000 |
commit | 8db218828187d58575c509b6ed3da0cad9f73519 (patch) | |
tree | 193c89c1df3a62941623e77426285d802a2cfcd2 /sysdeps/powerpc/powerpc64/power4/fpu | |
parent | 43455e09166350b1237d2168d1b008c9f47ebaf0 (diff) | |
download | glibc-8db218828187d58575c509b6ed3da0cad9f73519.tar.gz glibc-8db218828187d58575c509b6ed3da0cad9f73519.tar.xz glibc-8db218828187d58575c509b6ed3da0cad9f73519.zip |
Remove __STDC__ conditionals from libm.
Diffstat (limited to 'sysdeps/powerpc/powerpc64/power4/fpu')
-rw-r--r-- | sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c | 8 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c | 8 |
2 files changed, 2 insertions, 14 deletions
diff --git a/sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c b/sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c index d2b62b2672..428926e70a 100644 --- a/sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c +++ b/sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c @@ -1,5 +1,5 @@ /* Double-precision floating point square root wrapper. - Copyright (C) 2004, 2007 Free Software Foundation, Inc. + Copyright (C) 2004, 2007, 2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -22,14 +22,8 @@ #include "math_private.h" #include <fenv_libc.h> -#ifdef __STDC__ double __sqrt (double x) /* wrapper sqrt */ -#else -double -__sqrt (x) /* wrapper sqrt */ - double x; -#endif { double z; /* Power4 (ISA V2.0) and above implement sqrt in hardware. */ diff --git a/sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c b/sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c index 4784869f07..d0c78daff4 100644 --- a/sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c +++ b/sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c @@ -1,5 +1,5 @@ /* Single-precision floating point square root wrapper. - Copyright (C) 2004, 2007 Free Software Foundation, Inc. + Copyright (C) 2004, 2007, 2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -24,14 +24,8 @@ #include <sysdep.h> #include <ldsodefs.h> -#ifdef __STDC__ float __sqrtf (float x) /* wrapper sqrtf */ -#else -float -__sqrtf (x) /* wrapper sqrtf */ - float x; -#endif { #ifdef _IEEE_LIBM return __ieee754_sqrtf (x); |