Mark sig_atomic_t array volatile

master
Curtis McEnroe 2019-07-27 00:49:49 -04:00
parent 3d1f7d8065
commit 2571d6ef55
No known key found for this signature in database
GPG Key ID: CEA2F97ADCFCD77C
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}