about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2012-12-06 20:20:45 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2012-12-06 20:20:45 +0530
commitf16946dd9c61df65f2a2245d00da83331509731a (patch)
treef610c8b7d92b80e0d10ecab1e1e32312e253d7e0 /sysdeps/unix
parent7728c57488f3d75c6c2865ef36eae262daf8947a (diff)
downloadglibc-f16946dd9c61df65f2a2245d00da83331509731a.tar.gz
glibc-f16946dd9c61df65f2a2245d00da83331509731a.tar.xz
glibc-f16946dd9c61df65f2a2245d00da83331509731a.zip
Fix "set but not used" warnings for powerpc64
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h b/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
index 9b0693a195..059cf70755 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
@@ -1,5 +1,4 @@
-/* Copyright (C) 1992,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006,2012
-	Free Software Foundation, Inc.
+/* Copyright (C) 1992-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
@@ -218,7 +217,7 @@
   INTERNAL_SYSCALL_NCS (__NR_##name, err, nr, args)
 
 #undef INTERNAL_SYSCALL_DECL
-#define INTERNAL_SYSCALL_DECL(err) long int err
+#define INTERNAL_SYSCALL_DECL(err) long int err __attribute__ ((unused))
 
 #undef INTERNAL_SYSCALL_ERROR_P
 #define INTERNAL_SYSCALL_ERROR_P(val, err) \