From 2666f19b16c61d2cf6b9a319b74f286d64291b6c Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 28 Mar 2025 14:17:14 -0400 Subject: Signal handler is _Noreturn --- src/stdlib/stdlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stdlib/stdlib.c') diff --git a/src/stdlib/stdlib.c b/src/stdlib/stdlib.c index 97c7b219..8e652aa5 100644 --- a/src/stdlib/stdlib.c +++ b/src/stdlib/stdlib.c @@ -44,7 +44,7 @@ static ssize_t getrandom(void *buf, size_t buflen, unsigned int flags) { public bool USE_COLOR; -static void signal_handler(int sig, siginfo_t *, void *) +static _Noreturn void signal_handler(int sig, siginfo_t *, void *) { assert(sig == SIGILL); fflush(stdout); -- cgit v1.2.3