From 0b91afb2e1eda458905f19f601e6f98bb4f64d78 Mon Sep 17 00:00:00 2001 From: Aaron Jones Date: Wed, 1 Jun 2016 20:11:46 +0000 Subject: [PATCH] ircd_signal: a function that tailcalls a noreturn function should be marked noreturn --- ircd/ircd_signal.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ircd/ircd_signal.c b/ircd/ircd_signal.c index 0b3ffdb6e..2c4070c1f 100644 --- a/ircd/ircd_signal.c +++ b/ircd/ircd_signal.c @@ -57,6 +57,9 @@ sigchld_handler(int sig) /* * sigterm_handler - exit the server */ +static void +sigterm_handler(int sig) __attribute__((noreturn)); + static void sigterm_handler(int sig) {