@@ -546,10 +546,16 @@ { libc.exit(status); OF_UNREACHABLE } + +of_sig_t +signal(int sig, of_sig_t func) +{ + return libc.signal(sig, func); +} char * setlocale(int category, const char *locale) { return libc.setlocale(category, locale); @@ -559,16 +565,10 @@ _Unwind_Backtrace(int (*callback)(void *, void *), void *data) { return libc._Unwind_Backtrace(callback, data); } -of_sig_t -signal(int sig, of_sig_t func) -{ - return libc.signal(sig, func); -} - #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wpedantic" static CONST_APTR functionTable[] = { #ifdef OF_MORPHOS (CONST_APTR)FUNCARRAY_BEGIN,