Add missing OSFatal declaration

This commit is contained in:
Maschell 2023-07-19 15:17:10 +02:00
parent 80a9893f56
commit f0bf943f72

View File

@ -173,9 +173,11 @@ typedef struct wups_loader_hook_t {
#ifdef __cplusplus #ifdef __cplusplus
extern "C" uint32_t __attribute__((weak)) wut_get_thread_specific(int id); extern "C" uint32_t __attribute__((weak)) wut_get_thread_specific(int id);
extern "C" const char wups_meta_info_linking_order[]; extern "C" const char wups_meta_info_linking_order[];
extern "C" void OSFatal(const char *msg);
#else #else
extern uint32_t __attribute__((weak)) wut_get_thread_specific(int id); extern uint32_t __attribute__((weak)) wut_get_thread_specific(int id);
extern const char wups_meta_info_linking_order[]; extern const char wups_meta_info_linking_order[];
extern void OSFatal(const char *msg);
#endif #endif
#define WUPS___INIT_WRAPPER() \ #define WUPS___INIT_WRAPPER() \