summary refs log tree commit diff
path: root/rvnit.c
diff options
context:
space:
mode:
Diffstat (limited to 'rvnit.c')
-rw-r--r--rvnit.c8
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)