diff --git a/include/ircd.h b/include/ircd.h index f61afeef..28df4d5b 100644 --- a/include/ircd.h +++ b/include/ircd.h @@ -103,6 +103,6 @@ extern bool ircd_ssl_ok; extern bool ircd_zlib_ok; extern int maxconnections; -void ircd_shutdown(const char *reason); +void ircd_shutdown(const char *reason) __attribute__((noreturn)); #endif diff --git a/ircd/ircd.c b/ircd/ircd.c index 9df6a759..3b0d8011 100644 --- a/ircd/ircd.c +++ b/ircd/ircd.c @@ -66,6 +66,9 @@ #include "authproc.h" #include "operhash.h" +static void +ircd_die_cb(const char *str) __attribute__((noreturn)); + /* /quote set variables */ struct SetOptions GlobalSetOptions;