diff options
author | Ian Moffett <ian@osmora.org> | 2024-12-15 21:48:04 -0500 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-12-15 21:48:04 -0500 |
commit | 3fea90b0047f920c8b70e1d3d306d8afe0f99983 (patch) | |
tree | 5c18d7b14048608a5e7d61b0e39bb125f09ffbcb /sys | |
parent | 943e80365394df36a41fa19b6e3227f11f044cb6 (diff) |
kernel: Add __unused attribute to cdefs.h
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/include/sys/cdefs.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |