summaryrefslogtreecommitdiffstats
path: root/compat.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2015-11-18 14:37:08 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2015-11-18 14:37:08 +0000
commit8b4b3ff4fcc73578f66697b158b56fdc28895368 (patch)
tree520e6e74667f10bd1453bd78122789edc66d43e9 /compat.h
parentf8a1f8843c91ebb1262ec6a000fd495eeb27e179 (diff)
Add __unused, will be needed shortly.
Diffstat (limited to 'compat.h')
-rw-r--r--compat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/compat.h b/compat.h
index 7d9b14fd..6812e9a5 100644
--- a/compat.h
+++ b/compat.h
@@ -21,6 +21,9 @@
#define __attribute__(a)
#endif
+#ifndef __unused
+#define __unused __attribute__ ((__unused__))
+#endif
#ifndef __dead
#define __dead __attribute__ ((__noreturn__))
#endif