ustd: make terminate_req static
[ust.git] / ustd / ustd.c
index 8eeb62ba361aa0a7696b7540a827fb24b6cafb4e..4f826966dd3900ba1da0ce9211d273e3697c070f 100644 (file)
@@ -59,7 +59,7 @@ char *pidfile = NULL;
 int active_buffers = 0;
 pthread_mutex_t active_buffers_mutex = PTHREAD_MUTEX_INITIALIZER;
 /* Whether a request to end the program was received. */
-sig_atomic_t terminate_req = 0;
+volatile sig_atomic_t terminate_req = 0;
 
 int get_subbuffer(struct buffer_info *buf)
 {
This page took 0.022028 seconds and 4 git commands to generate.