diff options
author | Richard Braun <rbraun@sceen.net> | 2017-09-01 23:58:40 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-09-01 23:58:40 +0200 |
commit | 897ad6a062ea2a32a2759613608faf3271211832 (patch) | |
tree | f400b26a78f00ae8779d9657e40d868d785378b4 /kern/macros.h | |
parent | 850c52ee1b4e91c6781d337bc129302697188f62 (diff) |
kern/macros: new __unused macro
Diffstat (limited to 'kern/macros.h')
-rw-r--r-- | kern/macros.h | 4 |
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 */ |