From 2970aed680d17d33647f4b5e86fb9353561e724a Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Fri, 15 Mar 2024 01:11:12 -0400 Subject: libc: exit: Use _Noreturn Signed-off-by: Ian Moffett --- lib/libc/src/exit.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/libc/src') diff --git a/lib/libc/src/exit.c b/lib/libc/src/exit.c index 4832ac5..3b35ec6 100644 --- a/lib/libc/src/exit.c +++ b/lib/libc/src/exit.c @@ -29,8 +29,7 @@ #include -__attribute__((__noreturn__)) -void +_Noreturn void _exit(int status) { syscall(SYS_exit, status); -- cgit v1.2.3