summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/powerpc/bits/syscalls.h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-28 12:29:56 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-05 01:21:46 +0200
commitd4d4f37fda7fa57e57132ff2f0d735ce7cc2178e (patch)
treec92d11ace50e6d1977fe54f7d0aa68f0d985d8c3 /libc/sysdeps/linux/powerpc/bits/syscalls.h
parent6884573b944c79b7d0049334eaa78dae2692b874 (diff)
cleanup ppc port
Remove powerpc64 bits as we only support powerpc32.
Diffstat (limited to 'libc/sysdeps/linux/powerpc/bits/syscalls.h')
-rw-r--r--libc/sysdeps/linux/powerpc/bits/syscalls.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/powerpc/bits/syscalls.h b/libc/sysdeps/linux/powerpc/bits/syscalls.h
index d0f78c365..728b361b7 100644
--- a/libc/sysdeps/linux/powerpc/bits/syscalls.h
+++ b/libc/sysdeps/linux/powerpc/bits/syscalls.h
@@ -137,7 +137,8 @@
"sc; bnslr+" sequence) and CR (where only CR0.SO is clobbered to signal
an error return status). */
-# define INTERNAL_SYSCALL_DECL(err) long int err
+# undef INTERNAL_SYSCALL_DECL
+# define INTERNAL_SYSCALL_DECL(err) long int err __attribute__((unused))
# define INTERNAL_SYSCALL_NCS(name, err, nr, args...) \
(__extension__ \