From 26f3c379c1603ebdc35d1653b677b9e22685fd81 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 28 Jul 2024 10:47:59 -0400 Subject: prelude: Simplify attributes --- src/sighook.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/sighook.c') diff --git a/src/sighook.c b/src/sighook.c index ea58a0c..1b3bc43 100644 --- a/src/sighook.c +++ b/src/sighook.c @@ -366,7 +366,8 @@ static bool is_fatal(int sig) { } /** Reraise a fatal signal. */ -static noreturn void reraise(int sig) { +_noreturn +static void reraise(int sig) { // Restore the default signal action if (signal(sig, SIG_DFL) == SIG_ERR) { goto fail; -- cgit v1.2.3