mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-28 15:34:31 +00:00
fix(userspace/apps/test): fix noreturn compiler warning
fix "warning: 'noreturn' function does return" Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
parent
bd02b976a2
commit
451c5405e0
@ -21,6 +21,7 @@
|
|||||||
__attribute__((noreturn)) __attribute__((no_stack_protector)) void __stack_chk_fail(void)
|
__attribute__((noreturn)) __attribute__((no_stack_protector)) void __stack_chk_fail(void)
|
||||||
{
|
{
|
||||||
_exit(0xbeef);
|
_exit(0xbeef);
|
||||||
|
__builtin_unreachable();
|
||||||
}
|
}
|
||||||
|
|
||||||
int sample_test_pass()
|
int sample_test_pass()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user