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/include/unistd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc/include/unistd.h') diff --git a/lib/libc/include/unistd.h b/lib/libc/include/unistd.h index 7158005..47cde66 100644 --- a/lib/libc/include/unistd.h +++ b/lib/libc/include/unistd.h @@ -34,7 +34,7 @@ extern "C" { #endif -__attribute__((__noreturn__)) void _exit(int status); +_Noreturn void _exit(int status); #if defined(__cplusplus) } -- cgit v1.2.3