Signal handler is _Noreturn

This commit is contained in:
Bruce Hill 2025-03-28 14:17:14 -04:00
parent e861515053
commit 2666f19b16

View File

@ -44,7 +44,7 @@ static ssize_t getrandom(void *buf, size_t buflen, unsigned int flags) {
public bool USE_COLOR; 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); assert(sig == SIGILL);
fflush(stdout); fflush(stdout);