diff options
author | sigsegv7 <ian@vegaa.systems> | 2023-09-25 05:23:43 -0400 |
---|---|---|
committer | sigsegv7 <ian@vegaa.systems> | 2023-09-25 05:23:43 -0400 |
commit | b46ad8dbf5f8ec212a80a575f0d07e001f825fbf (patch) | |
tree | 1415b5e3cb9709b0915b588907019b23d1841b88 | |
parent | 20960df7401bf23ba575bfb91e1f4934dac72b8b (diff) |
kernel: cdefs: Add __naked macro
Signed-off-by: sigsegv7 <ian@vegaa.systems>
-rw-r--r-- | sys/include/sys/cdefs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/sys/cdefs.h b/sys/include/sys/cdefs.h index ef6537d..56d1f87 100644 --- a/sys/include/sys/cdefs.h +++ b/sys/include/sys/cdefs.h @@ -36,6 +36,7 @@ #define __attr(x) __attribute__((x)) #define __weak __attr(weak) #define __used __attr(used) +#define __naked __attr(naked) /* Pack a structure */ #define __packed __attribute__((__packed__)) |