wingo pushed a commit to branch lightning
in repository guile.
commit ef5a3ab797c44338482e1c2bf85d603e627039ae
Author: Paolo Bonzini <[email protected]>
Date: Mon Mar 17 09:21:42 2008 +0100
add underscores around __unused__ attribute
2008-03-15 Paolo Bonzini <[email protected]>
* lightning/asm-common.h: Add underscores around __unused__
attribute.
---
ChangeLog | 5 +++++
lightning/asm-common.h | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 7467008..29cdc28 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2008-03-15 Paolo Bonzini <[email protected]>
+ * lightning/asm-common.h: Add underscores around __unused__
+ attribute.
+
+2008-03-15 Paolo Bonzini <[email protected]>
+
* lightning/ppc/core.h: Avoid some "value computed is not used"
warnings.
* lightnings/tests/allocai.c: Silence other warnings.
diff --git a/lightning/asm-common.h b/lightning/asm-common.h
index 46344c6..d66c0d6 100644
--- a/lightning/asm-common.h
+++ b/lightning/asm-common.h
@@ -55,7 +55,7 @@
#endif
#ifdef __GNUC__
-#define JIT_UNUSED __attribute__((unused))
+#define JIT_UNUSED __attribute__((__unused__))
#else
#define JIT_UNUSED
#endif