From 3fea90b0047f920c8b70e1d3d306d8afe0f99983 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 15 Dec 2024 21:48:04 -0500 Subject: kernel: Add __unused attribute to cdefs.h Signed-off-by: Ian Moffett --- sys/include/sys/cdefs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/include') diff --git a/sys/include/sys/cdefs.h b/sys/include/sys/cdefs.h index 92cdec3..335f69a 100644 --- a/sys/include/sys/cdefs.h +++ b/sys/include/sys/cdefs.h @@ -36,6 +36,7 @@ #define __always_inline __attribute__((__always_inline__)) #define __packed __attribute__((__packed__)) #define __dead __attribute__((__noreturn__)) +#define __unused __attribute__((__unused__)) #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