about summary refs log tree commit diff
path: root/sysdeps/powerpc
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 /sysdeps/powerpc
parent43455e09166350b1237d2168d1b008c9f47ebaf0 (diff)
downloadglibc-8db218828187d58575c509b6ed3da0cad9f73519.tar.gz
glibc-8db218828187d58575c509b6ed3da0cad9f73519.tar.xz
glibc-8db218828187d58575c509b6ed3da0cad9f73519.zip
Remove __STDC__ conditionals from libm.
Diffstat (limited to 'sysdeps/powerpc')
-rw-r--r--sysdeps/powerpc/fpu/w_sqrt.c8
-rw-r--r--sysdeps/powerpc/fpu/w_sqrtf.c8
-rw-r--r--sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c8
-rw-r--r--sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c8
4 files changed, 4 insertions, 28 deletions
diff --git a/sysdeps/powerpc/fpu/w_sqrt.c b/sysdeps/powerpc/fpu/w_sqrt.c
index 806d8e4907..b2c3b3047c 100644
--- a/sysdeps/powerpc/fpu/w_sqrt.c
+++ b/sysdeps/powerpc/fpu/w_sqrt.c
@@ -1,5 +1,5 @@
 /* Double-precision floating point square root wrapper.
-   Copyright (C) 2004 Free Software Foundation, Inc.
+   Copyright (C) 2004, 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
@@ -21,14 +21,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
 {
 #ifdef _IEEE_LIBM
   return __ieee754_sqrt (x);
diff --git a/sysdeps/powerpc/fpu/w_sqrtf.c b/sysdeps/powerpc/fpu/w_sqrtf.c
index 54b4f3be7f..cb50cd88de 100644
--- a/sysdeps/powerpc/fpu/w_sqrtf.c
+++ b/sysdeps/powerpc/fpu/w_sqrtf.c
@@ -1,5 +1,5 @@
 /* Single-precision floating point square root wrapper.
-   Copyright (C) 2004 Free Software Foundation, Inc.
+   Copyright (C) 2004, 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);
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);