summaryrefslogtreecommitdiff
path: root/kern/macros.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-09-01 23:58:40 +0200
committerRichard Braun <rbraun@sceen.net>2017-09-01 23:58:40 +0200
commit897ad6a062ea2a32a2759613608faf3271211832 (patch)
treef400b26a78f00ae8779d9657e40d868d785378b4 /kern/macros.h
parent850c52ee1b4e91c6781d337bc129302697188f62 (diff)
kern/macros: new __unused macro
Diffstat (limited to 'kern/macros.h')
-rw-r--r--kern/macros.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/kern/macros.h b/kern/macros.h
index 6b203e52..83bab87f 100644
--- a/kern/macros.h
+++ b/kern/macros.h
@@ -98,4 +98,8 @@ moo_print(const char *s)
#define __packed __attribute__((packed))
#endif
+#ifndef __unused
+#define __unused __attribute__((unused))
+#endif
+
#endif /* _KERN_MACROS_H */