about summary refs log tree commit diff
path: root/sysdeps/powerpc/fpu/test-powerpc-snan.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/powerpc/fpu/test-powerpc-snan.c')
-rw-r--r--sysdeps/powerpc/fpu/test-powerpc-snan.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sysdeps/powerpc/fpu/test-powerpc-snan.c b/sysdeps/powerpc/fpu/test-powerpc-snan.c
index 0bf4eb1d5f..e3bd47abaf 100644
--- a/sysdeps/powerpc/fpu/test-powerpc-snan.c
+++ b/sysdeps/powerpc/fpu/test-powerpc-snan.c
@@ -17,8 +17,7 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-#define _GNU_SOURCE
-#define __USE_GNU
+#define _GNU_SOURCE 1
 #include <stdio.h>
 #include <stdlib.h>
 #include <sys/time.h>
@@ -42,7 +41,7 @@ long double SNANl;
 static sigjmp_buf sigfpe_buf;
 
 void
-init_signaling_nan()
+init_signaling_nan (void)
 {
     union {
 	double _ld16;