src/ircd_signal.c: misc cleanup for compiler warning

ircd_signal.c:59:1: warning: function 'sigterm_handler' could be declared
                    with attribute 'noreturn' [-Wmissing-noreturn]
This commit is contained in:
Aaron Jones 2017-07-31 05:34:32 +00:00
parent 9ca4bd7e0c
commit 6f1e0a6f47
No known key found for this signature in database
GPG key ID: 8AF0737488AB3012

View file

@ -54,7 +54,7 @@ sigchld_handler(int sig)
/*
* sigterm_handler - exit the server
*/
static void
static void __attribute__((noreturn))
sigterm_handler(int sig)
{
ircd_shutdown("Received SIGTERM");