From 0f30d227497418c6d3bef7d52244407e30454504 Mon Sep 17 00:00:00 2001 From: Kacper Date: Mon, 22 Dec 2025 23:27:56 +0100 Subject: Added c11 threads, fixed some locks and add *_unlocked functions --- lib/libc/unistd/_exit.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/libc/unistd') diff --git a/lib/libc/unistd/_exit.c b/lib/libc/unistd/_exit.c index 9ca98613..60ab93b0 100644 --- a/lib/libc/unistd/_exit.c +++ b/lib/libc/unistd/_exit.c @@ -1,9 +1,8 @@ - - #include // for __syscall, __syscall_1 -void _exit(int status) +_Noreturn void _exit(int status) { __syscall(exit, status); + __builtin_unreachable(); } -- cgit v1.2.3