0
0
Fork 0
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:
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)
{ {