summaryrefslogtreecommitdiff
path: root/libc/sysdeps/powerpc/fpu/test-powerpc-snan.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/powerpc/fpu/test-powerpc-snan.c')
-rw-r--r--libc/sysdeps/powerpc/fpu/test-powerpc-snan.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libc/sysdeps/powerpc/fpu/test-powerpc-snan.c b/libc/sysdeps/powerpc/fpu/test-powerpc-snan.c
index b90f0264b..e3bd47aba 100644
--- a/libc/sysdeps/powerpc/fpu/test-powerpc-snan.c
+++ b/libc/sysdeps/powerpc/fpu/test-powerpc-snan.c
@@ -1,5 +1,5 @@
/* Test Signalling NaN in isnan, isinf etc functions.
- Copyright (C) 2008 Free Software Foundation, Inc.
+ Copyright (C) 2008-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@suse.de>, 2005.
@@ -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;