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:
parent
9ca4bd7e0c
commit
6f1e0a6f47
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue