From 9c2e6e4e7c672b636ca75cf4db5ecebfa2ea1183 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 11 Feb 2024 23:26:46 -0500 Subject: kernel: cdefs: Add __noreturn macro Signed-off-by: Ian Moffett --- sys/include/sys/cdefs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/include/sys/cdefs.h b/sys/include/sys/cdefs.h index f7d55bc..59c81d4 100644 --- a/sys/include/sys/cdefs.h +++ b/sys/include/sys/cdefs.h @@ -37,6 +37,7 @@ #define __weak __attr(weak) #define __used __attr(used) #define __naked __attr(naked) +#define __noreturn __attr(noreturn) /* Wrapper for inline asm */ #define __ASMV __asm__ __volatile__ -- cgit v1.2.3