aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-08-23 18:43:27 +0000
committerStefan Reinauer <stepan@openbios.org>2010-08-23 18:43:27 +0000
commit83628902adacc8eece332c6968ff4e910d43c5b4 (patch)
tree4b1aea07cb339b1519998c5b79a988d2562abc33
parent53a811eeb5b00d165cb7cc7956d7c46cee3d4a73 (diff)
mark unused variables in x86emu as unused. gcc has a mechanism for this.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5738 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--src/devices/oprom/x86emu/x86emui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/oprom/x86emu/x86emui.h b/src/devices/oprom/x86emu/x86emui.h
index 8ad43bfa30..e34a1bad30 100644
--- a/src/devices/oprom/x86emu/x86emui.h
+++ b/src/devices/oprom/x86emu/x86emui.h
@@ -59,7 +59,7 @@
#ifdef __cplusplus
#define X86EMU_UNUSED(v)
#else
-#define X86EMU_UNUSED(v) v
+#define X86EMU_UNUSED(v) v __attribute__((unused))
#endif
#include "x86emu/x86emu.h"