summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips/sysdep.h
diff options
context:
space:
mode:
authorSteve Ellcey <sellcey@mips.com>2014-01-29 09:54:34 -0800
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-02-02 21:35:24 +0100
commitd31846a1b993cfe4b7d983db0e5c140dac3b0220 (patch)
treefc5ee6797215cde817b2e84f5224c041ec115d1e /libc/sysdeps/linux/mips/sysdep.h
parent0f363664b5c903feba16b87eb565608c28c4e504 (diff)
mips: silence 'set but not used' warnings
This patch uses 'attribute_unused' to clean up a number of warnings messages that are generated when doing a MIPS build. All of the changes are in MIPS specific files and there are no code changes other then adding the unused attribute where needed. Signed-off-by: Steve Ellcey <sellcey@mips.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/mips/sysdep.h')
-rw-r--r--libc/sysdeps/linux/mips/sysdep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/mips/sysdep.h b/libc/sysdeps/linux/mips/sysdep.h
index 46b6c5376..b6d4f1045 100644
--- a/libc/sysdeps/linux/mips/sysdep.h
+++ b/libc/sysdeps/linux/mips/sysdep.h
@@ -144,7 +144,7 @@ L(syse1):
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))