summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2014-08-25 01:06:01 +0200
committerThomas Graf <tgraf@suug.ch>2014-08-25 01:07:19 +0200
commita36136ec4d9056a32a9547c3abcc22ee7e1b3c32 (patch)
tree21a73b78eda724b0cd48337003594a4262118ce7 /include
parente3d208905d62253a402f7cb32f96f910e64d8c4f (diff)
Annotate unused variables
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Diffstat (limited to 'include')
-rw-r--r--include/bmon/bmon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/bmon/bmon.h b/include/bmon/bmon.h
index e349110..05934ec 100644
--- a/include/bmon/bmon.h
+++ b/include/bmon/bmon.h
@@ -60,9 +60,11 @@ enum {
#if defined __GNUC__
#define __init __attribute__ ((constructor))
#define __exit __attribute__ ((destructor))
+#define __unused__ __attribute__ ((unused))
#else
#define __init
#define __exit
+#define __unused__
#endif
#ifdef DEBUG