diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2020-08-11 23:37:27 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-12 20:40:59 +0200 |
commit | 8a41ce5cc7888478f35ce87e27be4a540dcaeea1 (patch) | |
tree | b5bde40d0e155607022ee4d7cd0d06ba5dfba897 /Kernel/init.cpp | |
parent | ff16da8c771f85f96fa289ecabd18b2137ec985b (diff) | |
download | serenity-8a41ce5cc7888478f35ce87e27be4a540dcaeea1.zip |
Kernel: Group C++ ABI functions together
As suggested in #3096.
Diffstat (limited to 'Kernel/init.cpp')
-rw-r--r-- | Kernel/init.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Kernel/init.cpp b/Kernel/init.cpp index 69db9f9efd..9e0713c4a9 100644 --- a/Kernel/init.cpp +++ b/Kernel/init.cpp @@ -381,13 +381,8 @@ extern "C" { multiboot_info_t* multiboot_info_ptr; } -// Define some Itanium C++ ABI methods to stop the linker from complaining +// Define some Itanium C++ ABI methods to stop the linker from complaining. // If we actually call these something has gone horribly wrong void* __dso_handle __attribute__((visibility("hidden"))); -extern "C" int __cxa_atexit(void (*)(void*), void*, void*) -{ - ASSERT_NOT_REACHED(); - return 0; -} } |