From e4f782780d373a98897589ead9399680f725fcf8 Mon Sep 17 00:00:00 2001 From: Pierre-Marc Fournier Date: Tue, 9 Mar 2010 00:23:20 -0500 Subject: [PATCH] ustd: make terminate_req static --- ustd/ustd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ustd/ustd.c b/ustd/ustd.c index 8eeb62ba..4f826966 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) { -- 2.34.1