mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +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:
parent
3162c9e214
commit
842249aff5
Notes:
sideshowbarker
2024-07-18 11:05:41 +09:00
Author: https://github.com/BertalanD
Commit: 842249aff5
Pull-request: https://github.com/SerenityOS/serenity/pull/8354
Reviewed-by: https://github.com/Hendiadyoin1
Reviewed-by: https://github.com/alimpfard
4 changed files with 8 additions and 8 deletions
|
@ -104,7 +104,7 @@ void __cxa_finalize(void* dso_handle)
|
|||
__pthread_mutex_unlock(&atexit_mutex);
|
||||
}
|
||||
|
||||
[[noreturn]] void __cxa_pure_virtual()
|
||||
__attribute__((noreturn)) void __cxa_pure_virtual()
|
||||
{
|
||||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue