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
commitc2f36bcecfd93576a988c8e3222d1a63c2357260 (patch)
treef400b26a78f00ae8779d9657e40d868d785378b4 /kern/macros.h
parenta38f87c3f5fcff4aef6df11a126ceb275866bece (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 */