mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 15:30:52 +01:00
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