aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-02-11 23:26:46 -0500
committerIan Moffett <ian@osmora.org>2024-02-11 23:26:46 -0500
commit9c2e6e4e7c672b636ca75cf4db5ecebfa2ea1183 (patch)
tree5dc5cd54e3249d37efc8fe52aa4d90741ecf9bca
parentefe1d129f69c0d5668f37fdf7c8b37c17bc6496f (diff)
kernel: cdefs: Add __noreturn macro
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r--sys/include/sys/cdefs.h1
1 files changed, 1 insertions, 0 deletions
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__