ircd: Move signaled variables to volatile sig_atomic_t
This commit is contained in:
parent
aa7eff28f2
commit
33d43d4fa4
2 changed files with 6 additions and 6 deletions
|
@ -65,9 +65,9 @@ extern const unsigned long int datecode;
|
||||||
extern const char *ircd_version;
|
extern const char *ircd_version;
|
||||||
extern const char *logFileName;
|
extern const char *logFileName;
|
||||||
extern const char *pidFileName;
|
extern const char *pidFileName;
|
||||||
extern bool dorehash;
|
extern volatile sig_atomic_t dorehash;
|
||||||
extern bool dorehashbans;
|
extern volatile sig_atomic_t dorehashbans;
|
||||||
extern bool doremotd;
|
extern volatile sig_atomic_t doremotd;
|
||||||
extern bool kline_queued;
|
extern bool kline_queued;
|
||||||
extern bool server_state_foreground;
|
extern bool server_state_foreground;
|
||||||
extern bool opers_see_all_users; /* sno_farconnect.so loaded, operspy without
|
extern bool opers_see_all_users; /* sno_farconnect.so loaded, operspy without
|
||||||
|
|
|
@ -95,9 +95,9 @@ rb_dlink_list local_oper_list; /* our opers, duplicated in lclient_list */
|
||||||
rb_dlink_list oper_list; /* network opers */
|
rb_dlink_list oper_list; /* network opers */
|
||||||
|
|
||||||
char **myargv;
|
char **myargv;
|
||||||
bool dorehash = false;
|
volatile sig_atomic_t dorehash = false;
|
||||||
bool dorehashbans = false;
|
volatile sig_atomic_t dorehashbans = false;
|
||||||
bool doremotd = false;
|
volatile sig_atomic_t doremotd = false;
|
||||||
bool kline_queued = false;
|
bool kline_queued = false;
|
||||||
bool server_state_foreground = false;
|
bool server_state_foreground = false;
|
||||||
bool opers_see_all_users = false;
|
bool opers_see_all_users = false;
|
||||||
|
|
Loading…
Reference in a new issue