summaryrefslogtreecommitdiff
path: root/Kernel/init.cpp
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2020-08-11 23:37:27 +0200
committerAndreas Kling <kling@serenityos.org>2020-08-12 20:40:59 +0200
commit8a41ce5cc7888478f35ce87e27be4a540dcaeea1 (patch)
treeb5bde40d0e155607022ee4d7cd0d06ba5dfba897 /Kernel/init.cpp
parentff16da8c771f85f96fa289ecabd18b2137ec985b (diff)
downloadserenity-8a41ce5cc7888478f35ce87e27be4a540dcaeea1.zip
Kernel: Group C++ ABI functions together
As suggested in #3096.
Diffstat (limited to 'Kernel/init.cpp')
-rw-r--r--Kernel/init.cpp7
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;
-}
}