Fix powerpc32 "set but not used" warnings from INTERNAL_SYSCALL_DECL.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 4 Dec 2012 14:40:17 +0000 (14:40 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 4 Dec 2012 14:40:17 +0000 (14:40 +0000)
ChangeLog
sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h

index 3338301..0785ab0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
 
+       * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
+       (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
+
        [BZ #14914]
        * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
        whole low double instead of just low 47 bits when splitting values
index b0fa372..da25c01 100644 (file)
    an error return status).  */
 
 # 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
 # define INTERNAL_SYSCALL_NCS(name, err, nr, args...)                  \