summaryrefslogtreecommitdiff
path: root/kern/macros.h
diff options
context:
space:
mode:
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 83bab87f..d09eca40 100644
--- a/kern/macros.h
+++ b/kern/macros.h
@@ -102,4 +102,8 @@ moo_print(const char *s)
#define __unused __attribute__((unused))
#endif
+#ifndef __used
+#define __used __attribute__((used))
+#endif
+
#endif /* _KERN_MACROS_H */