summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-12-04 14:40:17 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-12-04 14:40:17 +0000
commit20f0018d92270fba5eef06504a94a3822e0836d8 (patch)
tree283bbcd58b07a46bb6a2062edd425cf1000e0808 /sysdeps
parentb3b099af0356831530f553934cdd90716137b1a3 (diff)
downloadglibc-20f0018d92270fba5eef06504a94a3822e0836d8.tar.gz
glibc-20f0018d92270fba5eef06504a94a3822e0836d8.tar.xz
glibc-20f0018d92270fba5eef06504a94a3822e0836d8.zip
Fix powerpc32 "set but not used" warnings from INTERNAL_SYSCALL_DECL.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h b/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
index b0fa372d99..da25c01504 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
@@ -175,7 +175,7 @@
    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...)			\