have_listener: make static
authorPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Tue, 9 Mar 2010 05:34:07 +0000 (00:34 -0500)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Tue, 9 Mar 2010 05:34:07 +0000 (00:34 -0500)
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.025929 seconds and 4 git commands to generate.