diff options
-rw-r--r-- | rvnit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rvnit.c b/rvnit.c index 8175b35..04b6f80 100644 --- a/rvnit.c +++ b/rvnit.c @@ -61,10 +61,10 @@ int globallogfd[2]; int pid1; int use_global_log; -sig_atomic_t want_shutdown; -sig_atomic_t want_rescan; -sig_atomic_t want_rescandir; -sig_atomic_t want_reboot; +volatile sig_atomic_t want_shutdown; +volatile sig_atomic_t want_rescan; +volatile sig_atomic_t want_rescandir; +volatile sig_atomic_t want_reboot; void on_sigint(int sig) |