From: Pierre-Marc Fournier Date: Tue, 9 Mar 2010 05:34:07 +0000 (-0500) Subject: have_listener: make static X-Git-Tag: v0.4~22 X-Git-Url: https://git.lttng.org/?p=ust.git;a=commitdiff_plain;h=ce45335c5700c87e9b7a6dd744a6b4b760778c4b have_listener: make static --- diff --git a/libust/tracectl.c b/libust/tracectl.c index e0b9370..82f51c1 100644 --- a/libust/tracectl.c +++ b/libust/tracectl.c @@ -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)