mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-28 15:34:33 +00:00
Fixed compiler warnings
This commit is contained in:
parent
3f166b97c7
commit
b236ca54ee
@ -4,7 +4,7 @@
|
||||
|
||||
#include "../kernel.h"
|
||||
|
||||
EXTERNC __attribute__((weak)) uintptr_t __stack_chk_guard = 0;
|
||||
/* EXTERNC */ __attribute__((weak)) uintptr_t __stack_chk_guard = 0;
|
||||
|
||||
EXTERNC __attribute__((weak, no_stack_protector)) uintptr_t __stack_chk_guard_init(void)
|
||||
{
|
||||
|
@ -246,6 +246,8 @@ EXTERNC __no_stack_protector __no_instrument_function void Entry(BootInfo *Info)
|
||||
Main(Info);
|
||||
}
|
||||
|
||||
#pragma GCC diagnostic ignored "-Wdelete-non-virtual-dtor"
|
||||
|
||||
EXTERNC __no_stack_protector __no_instrument_function void BeforeShutdown()
|
||||
{
|
||||
/* TODO: Announce shutdown */
|
||||
|
@ -96,7 +96,7 @@ struct __cxa_exception
|
||||
_Unwind_Exception unwindHeader;
|
||||
};
|
||||
|
||||
extern void *__dso_handle = 0;
|
||||
/* extern */ void *__dso_handle = 0;
|
||||
atexit_func_entry_t __atexit_funcs[ATEXIT_MAX_FUNCS];
|
||||
uarch_t __atexit_func_count = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user