aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/openrc-shutdown/broadcast.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/openrc-shutdown/broadcast.c b/src/openrc-shutdown/broadcast.c
index 402a9fb9..05672ee0 100644
--- a/src/openrc-shutdown/broadcast.c
+++ b/src/openrc-shutdown/broadcast.c
@@ -44,11 +44,7 @@ static sigjmp_buf jbuf;
* Alarm handler
*/
/*ARGSUSED*/
-# ifdef __GNUC__
-static void handler(int arg __attribute__((unused)))
-# else
-static void handler(int arg)
-# endif
+_noreturn static void handler(int arg _unused)
{
siglongjmp(jbuf, 1);
}