aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2013-01-04 18:01:34 +0100
committerAndreas Schwab <schwab@linux-m68k.org>2013-01-04 19:04:08 +0100
commitd643bac1f7b2f361576ce45523de7cf0bf5a69de (patch)
treee9352e7fc24031d353c935027e14da65f987bf68 /sysdeps/powerpc
parente47686e96036b1d00c58ecd54baaafde468ef23d (diff)
downloadglibc-d643bac1f7b2f361576ce45523de7cf0bf5a69de.tar
glibc-d643bac1f7b2f361576ce45523de7cf0bf5a69de.tar.gz
glibc-d643bac1f7b2f361576ce45523de7cf0bf5a69de.tar.bz2
glibc-d643bac1f7b2f361576ce45523de7cf0bf5a69de.zip
Fix warnings in test-powerpc-snan.c
Diffstat (limited to 'sysdeps/powerpc')
-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;