From ce45335c5700c87e9b7a6dd744a6b4b760778c4b Mon Sep 17 00:00:00 2001 From: Pierre-Marc Fournier Date: Tue, 9 Mar 2010 00:34:07 -0500 Subject: [PATCH] have_listener: make static --- libust/tracectl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.34.1