1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 20:37:34 +00:00

LibC: Don't use C++ attribute syntax in C-visible headers

Fixes errors when building Clang's compiler-rt, which compiles in C11
more.
This commit is contained in:
Daniel Bertalan 2021-06-29 10:31:48 +02:00 committed by Ali Mohammad Pur
parent 3162c9e214
commit 842249aff5
4 changed files with 8 additions and 8 deletions

View file

@ -21,8 +21,8 @@ extern bool __stdio_is_initialized;
int __cxa_atexit(AtExitFunction exit_function, void* parameter, void* dso_handle);
void __cxa_finalize(void* dso_handle);
[[noreturn]] void __cxa_pure_virtual() __attribute__((weak));
[[noreturn]] void __stack_chk_fail();
[[noreturn]] void __stack_chk_fail_local();
__attribute__((noreturn)) void __cxa_pure_virtual() __attribute__((weak));
__attribute__((noreturn)) void __stack_chk_fail();
__attribute__((noreturn)) void __stack_chk_fail_local();
__END_DECLS