diff options
author | Richard Braun <rbraun@sceen.net> | 2017-09-07 20:59:07 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-09-07 21:51:22 +0200 |
commit | b8c599d5af3f0b0d57615b04bc92d0b15bfb0af5 (patch) | |
tree | 7d2e9be477ac6734f518272901d1dbae2712745a /kern/macros.h | |
parent | 087191327ed1f629c0ae60e169275fda1d0e66b8 (diff) |
kern/macros: new __used attribute 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 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 */ |