ircd_signal: a function that tailcalls a noreturn function should be marked noreturn

This commit is contained in:
Aaron Jones 2016-06-01 20:11:46 +00:00
parent df3db5d99b
commit 0b91afb2e1
No known key found for this signature in database
GPG key ID: 6E854C0FAAD4CEA4

View file

@ -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)
{ {