Skip to content

Commit 16a3922

Browse files
Update atexit.cpp
1 parent c754437 commit 16a3922

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

libc/src/stdlib/atexit.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,7 @@ constinit ExitCallbackList atexit_callbacks;
1818
Mutex handler_list_mtx(false, false, false, false);
1919
[[gnu::weak]] extern void teardown_main_tls();
2020

21-
namespace internal {
22-
[[gnu::weak]] extern void call_atexit_callbacks();
23-
}
24-
2521
extern "C" {
26-
2722
int __cxa_atexit(AtExitCallback *callback, void *payload, void *) {
2823
return add_atexit_unit(atexit_callbacks, {callback, payload});
2924
}

0 commit comments

Comments
 (0)