diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-11-19 23:08:27 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-11-19 23:08:27 +0000 |
commit | 6eb43a28afc338baf1aceef7bf8d3174daf9d084 (patch) | |
tree | 1acb72f9606ed77eea5b6eff7b2af4e49b910291 /ports/sysdeps/unix/sysv/linux/mips/mips32/sysdep.h | |
parent | 116fc08a619e16e4bab5aa662e8ffde4c6753af1 (diff) | |
download | glibc-6eb43a28afc338baf1aceef7bf8d3174daf9d084.tar.gz glibc-6eb43a28afc338baf1aceef7bf8d3174daf9d084.tar.xz glibc-6eb43a28afc338baf1aceef7bf8d3174daf9d084.zip |
Fix unused variable warnings from MIPS syscall macros.
Diffstat (limited to 'ports/sysdeps/unix/sysv/linux/mips/mips32/sysdep.h')
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/mips/mips32/sysdep.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ports/sysdeps/unix/sysv/linux/mips/mips32/sysdep.h b/ports/sysdeps/unix/sysv/linux/mips/mips32/sysdep.h index 8c024b0241..1d6ab05360 100644 --- a/ports/sysdeps/unix/sysv/linux/mips/mips32/sysdep.h +++ b/ports/sysdeps/unix/sysv/linux/mips/mips32/sysdep.h @@ -60,13 +60,13 @@ result_var; }) #undef INTERNAL_SYSCALL_DECL -#define INTERNAL_SYSCALL_DECL(err) long err +#define INTERNAL_SYSCALL_DECL(err) long err __attribute__ ((unused)) #undef INTERNAL_SYSCALL_ERROR_P -#define INTERNAL_SYSCALL_ERROR_P(val, err) ((long) (err)) +#define INTERNAL_SYSCALL_ERROR_P(val, err) ((void) (val), (long) (err)) #undef INTERNAL_SYSCALL_ERRNO -#define INTERNAL_SYSCALL_ERRNO(val, err) (val) +#define INTERNAL_SYSCALL_ERRNO(val, err) ((void) (err), val) #undef INTERNAL_SYSCALL #define INTERNAL_SYSCALL(name, err, nr, args...) \ |