ircd_signal: a function that tailcalls a noreturn function should be marked noreturn
This commit is contained in:
parent
6be270b107
commit
e83991950f
1 changed files with 3 additions and 0 deletions
|
@ -57,6 +57,9 @@ sigchld_handler(int sig)
|
||||||
/*
|
/*
|
||||||
* sigterm_handler - exit the server
|
* sigterm_handler - exit the server
|
||||||
*/
|
*/
|
||||||
|
static void
|
||||||
|
sigterm_handler(int sig) __attribute__((noreturn));
|
||||||
|
|
||||||
static void
|
static void
|
||||||
sigterm_handler(int sig)
|
sigterm_handler(int sig)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue