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 | 2ab04b9af9dbc565192dc63b88ed0fd1a42d2082 (patch) | |
tree | 7d2e9be477ac6734f518272901d1dbae2712745a | |
parent | 888853dc07f1cdb9701f3612dea7828cc96b84cc (diff) |
kern/macros: new __used attribute macro
-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 */ |