X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/238a9ed590ea50b0e09f1390f6bc2551be1563ab..28bcd75330ad1cedaf1f680b7a263ba5356bf752:/include/ircd.h diff --git a/include/ircd.h b/include/ircd.h index d268efe6..28df4d5b 100644 --- a/include/ircd.h +++ b/include/ircd.h @@ -65,9 +65,9 @@ extern const unsigned long int datecode; extern const char *ircd_version; extern const char *logFileName; extern const char *pidFileName; -extern bool dorehash; -extern bool dorehashbans; -extern bool doremotd; +extern volatile sig_atomic_t dorehash; +extern volatile sig_atomic_t dorehashbans; +extern volatile sig_atomic_t doremotd; extern bool kline_queued; extern bool server_state_foreground; extern bool opers_see_all_users; /* sno_farconnect.so loaded, operspy without @@ -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