aboutsummaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2014-05-27 15:48:57 +0200
committerLars-Dominik Braun <lars@6xq.net>2014-05-27 15:48:57 +0200
commitb442ffba40cef5fa5a5e1bd6c13b5e30b06b28e2 (patch)
tree6631ffc3a28b4e77f3e242f9104ad75290eb41e3 /common.h
parentd8092ae891d96da4bf6daac37a6588150e6a724e (diff)
downloadhourglass-b442ffba40cef5fa5a5e1bd6c13b5e30b06b28e2.tar.gz
hourglass-b442ffba40cef5fa5a5e1bd6c13b5e30b06b28e2.tar.bz2
hourglass-b442ffba40cef5fa5a5e1bd6c13b5e30b06b28e2.zip
Fix compiler warnings
Diffstat (limited to 'common.h')
-rw-r--r--common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common.h b/common.h
index eba8d6e..fed4dbd 100644
--- a/common.h
+++ b/common.h
@@ -9,5 +9,7 @@
while (cond) { sleep_cpu (); } \
sleep_disable ();
+#define __unused__ __attribute__ ((unused))
+
#endif /* COMMON_H */