From: Pierre-Marc Fournier Date: Tue, 9 Mar 2010 05:23:20 +0000 (-0500) Subject: ustd: make terminate_req static X-Git-Tag: v0.4~28 X-Git-Url: https://git.lttng.org/?p=ust.git;a=commitdiff_plain;h=e4f782780d373a98897589ead9399680f725fcf8 ustd: make terminate_req static --- diff --git a/ustd/ustd.c b/ustd/ustd.c index 8eeb62b..4f82696 100644 --- a/ustd/ustd.c +++ b/ustd/ustd.c @@ -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) {