summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-07-27 00:49:49 -0400
committerJune McEnroe <june@causal.agency>2019-07-27 00:49:49 -0400
commit2571d6ef5533b005f0f3ece462736693f354f986 (patch)
tree7e2553ca95f20b1c5f9bbaf5cb6aba8e4697f685
parentAdd /list (diff)
downloadcatgirl-2571d6ef5533b005f0f3ece462736693f354f986.tar.gz
catgirl-2571d6ef5533b005f0f3ece462736693f354f986.zip
Mark sig_atomic_t array volatile
-rw-r--r--event.c2
1 files changed, 1 insertions, 1 deletions
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;
 }
=dfea3f8193aacb21edd74880d51535ae29346d2e&follow=1'>Import LibreSSL 3.3.1June McEnroe 2020-11-24Import LibreSSL 3.3.0June McEnroe 2020-10-22Import LibreSSL 3.2.2June McEnroe 2020-09-29Import LibreSSL 3.2.1June McEnroe 2020-09-29import: Add m4/ax_add_fortify_source.m4June McEnroe 2020-08-05build: Add README.7 to EXTRA_DIST 3.2.0June McEnroe 2020-08-03doc: Indicate that only OpenSSL 1.1.1b and newer workJune McEnroe