summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-09-02 00:53:13 +0200
committerRichard Braun <rbraun@sceen.net>2017-09-02 00:59:53 +0200
commit3fc1083c811d6a9e7fa6c816719cf8fc0577aa0f (patch)
tree4b878db9fb25e32b69ae08ff694ebfdac2f95506
parentf6466867eef67f7595432eefa1283b6a78cf09dc (diff)
macros: new __unused macro
-rw-r--r--macros.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/macros.h b/macros.h
index dae21ce..f6d69d9 100644
--- a/macros.h
+++ b/macros.h
@@ -86,6 +86,10 @@
#define __packed __attribute__((packed))
#endif
+#ifndef __unused
+#define __unused __attribute__((unused))
+#endif
+
/*
* XXX Suppress warnings caused by some implementations of assert().
*/