We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c754437 commit 16a3922Copy full SHA for 16a3922
libc/src/stdlib/atexit.cpp
@@ -18,12 +18,7 @@ constinit ExitCallbackList atexit_callbacks;
18
Mutex handler_list_mtx(false, false, false, false);
19
[[gnu::weak]] extern void teardown_main_tls();
20
21
-namespace internal {
22
-[[gnu::weak]] extern void call_atexit_callbacks();
23
-}
24
-
25
extern "C" {
26
27
int __cxa_atexit(AtExitCallback *callback, void *payload, void *) {
28
return add_atexit_unit(atexit_callbacks, {callback, payload});
29
}
0 commit comments