have_listener: make static
[ust.git] / libust / tracectl.c
index e0b9370963a482a206be9b358d4705ecae727e9c..82f51c1acf776fcee4ee29378dd2f151e784aa14 100644 (file)
@@ -1107,10 +1107,10 @@ void *listener_main(void *p)
        pthread_cleanup_pop(1);
 }
 
-volatile sig_atomic_t have_listener = 0;
 /* These should only be accessed in the parent thread,
  * not the listener.
  */
+static volatile sig_atomic_t have_listener = 0;
 static pthread_t listener_thread;
 
 void create_listener(void)
This page took 0.022683 seconds and 4 git commands to generate.