From b46ad8dbf5f8ec212a80a575f0d07e001f825fbf Mon Sep 17 00:00:00 2001 From: sigsegv7 Date: Mon, 25 Sep 2023 05:23:43 -0400 Subject: kernel: cdefs: Add __naked macro Signed-off-by: sigsegv7 --- sys/include/sys/cdefs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys') 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__)) -- cgit v1.2.3