diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2025-06-25 13:59:15 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2025-07-26 14:19:51 -0400 |
commit | 2cd69d3ee34a6d2c21aa64aedf262827eb83826f (patch) | |
tree | 9e98b40ac2a7fc6809f7e2bb3ac0c42eecad735a /src/prelude.h | |
parent | 1b1e5a4707d681e4b38df56e83db1be9c07723b8 (diff) | |
download | bfs-2cd69d3ee34a6d2c21aa64aedf262827eb83826f.tar.xz |
Use C23 [[attribute]] syntax
Diffstat (limited to 'src/prelude.h')
-rw-r--r-- | src/prelude.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/prelude.h b/src/prelude.h index 1663af6..f4ec40f 100644 --- a/src/prelude.h +++ b/src/prelude.h @@ -77,12 +77,6 @@ /** _Bool => bool, true, false */ #include <stdbool.h> -/** - * C23 deprecates `noreturn void` in favour of `[[noreturn]] void`, so we expose - * _noreturn instead with the other attributes in "bfs.h". - */ -// #include <stdnoreturn.h> - /** Part of <threads.h>, but we don't use anything else from it. */ #define thread_local _Thread_local @@ -99,11 +93,6 @@ // Feature detection -// https://clang.llvm.org/docs/LanguageExtensions.html#has-attribute -#ifndef __has_attribute -# define __has_attribute(attr) false -#endif - // https://clang.llvm.org/docs/LanguageExtensions.html#has-builtin #ifndef __has_builtin # define __has_builtin(builtin) false |