ircd_signal: a function that tailcalls a noreturn function should be marked noreturn
This commit is contained in:
parent
df3db5d99b
commit
0b91afb2e1
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