From 3ef807f071feaffef409e1817d781a9d49584b5c Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 30 Jun 2024 22:21:19 -0400 Subject: kernel: cdefs: Add __dead 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 bec6271..32d7786 100644 --- a/sys/include/sys/cdefs.h +++ b/sys/include/sys/cdefs.h @@ -35,6 +35,7 @@ #define __ASMV __asm__ __volatile__ #define __always_inline __attribute__((__always_inline__)) #define __packed __attribute__((__packed__)) +#define __dead __attribute__((__noreturn__)) #define __likely(exp) __builtin_expect(((exp) != 0), 1) #define __unlikely(exp) __builtin_expect(((exp) != 0), 0) #define __static_assert _Static_assert -- cgit v1.2.3