From 54ce6d3224e68674de3036ed571a85ff09207068 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Fri, 20 Dec 2024 00:14:28 -0500 Subject: kernel: cdefs: Add __weak 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 73ff4ca..66a2dff 100644 --- a/sys/include/sys/cdefs.h +++ b/sys/include/sys/cdefs.h @@ -33,6 +33,7 @@ #include #define __ASMV __asm__ __volatile__ +#define __weak __attribute__((__weak__)) #define __always_inline __attribute__((__always_inline__)) #define __packed __attribute__((__packed__)) #define __dead __attribute__((__noreturn__)) -- cgit v1.2.3