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 | c2f36bcecfd93576a988c8e3222d1a63c2357260 (patch) | |
tree | f400b26a78f00ae8779d9657e40d868d785378b4 /kern/macros.h | |
parent | a38f87c3f5fcff4aef6df11a126ceb275866bece (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 */ |