1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:27:35 +00:00

LibC: Move C++ABI functions to cxxabi.cpp, typecheck cxa_atexit

This commit is contained in:
Ben Wiederhake 2020-08-12 02:11:07 +02:00 committed by Andreas Kling
parent 9d2d97a059
commit ff590db7e5
4 changed files with 21 additions and 22 deletions

View file

@ -30,10 +30,17 @@
__BEGIN_DECLS
typedef void (*AtExitFunction)(void*);
extern void __libc_init();
extern void __malloc_init();
extern void __stdio_init();
extern void _init();
extern bool __environ_is_malloced;
int __cxa_atexit(AtExitFunction exit_function, void* parameter, void* dso_handle);
void __cxa_finalize(void* dso_handle);
[[noreturn]] void __cxa_pure_virtual() __attribute__((weak));
[[noreturn]] void __stack_chk_fail();
__END_DECLS