mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-09 17:29:38 +01:00
690bd6ccbd
This reverts commit 865af4609c49015c64f4092fd53315a1110b8042. Turns out it is for whole filesystem. oops.
40 lines
753 B
C
40 lines
753 B
C
extern void __init_wut_newlib() __attribute__((weak));
|
|
extern void __init_wut_devoptab() __attribute__((weak));
|
|
extern void __init_wut_stdcpp() __attribute__((weak));
|
|
|
|
extern void __fini_wut_devoptab() __attribute__((weak));
|
|
extern void __fini_wut_newlib() __attribute__((weak));
|
|
extern void __fini_wut_stdcpp() __attribute__((weak));
|
|
|
|
void
|
|
__init_wut()
|
|
{
|
|
if (__init_wut_newlib) {
|
|
__init_wut_newlib();
|
|
}
|
|
|
|
if (__init_wut_devoptab) {
|
|
__init_wut_devoptab();
|
|
}
|
|
|
|
if (__init_wut_stdcpp) {
|
|
__init_wut_stdcpp();
|
|
}
|
|
}
|
|
|
|
void
|
|
__fini_wut()
|
|
{
|
|
if (__fini_wut_stdcpp) {
|
|
__fini_wut_stdcpp();
|
|
}
|
|
|
|
if (__fini_wut_devoptab) {
|
|
__fini_wut_devoptab();
|
|
}
|
|
|
|
if (__fini_wut_newlib) {
|
|
__fini_wut_newlib();
|
|
}
|
|
}
|