From 2571d6ef5533b005f0f3ece462736693f354f986 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sat, 27 Jul 2019 00:49:49 -0400 Subject: Mark sig_atomic_t array volatile --- event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'event.c') diff --git a/event.c b/event.c index 2561f09..6bc9d92 100644 --- a/event.c +++ b/event.c @@ -105,7 +105,7 @@ static void childRead(void) { } } -static sig_atomic_t sig[NSIG]; +static volatile sig_atomic_t sig[NSIG]; static void handler(int n) { sig[n] = 1; } -- cgit 1.4.1-2-gfad0