diff options
author | Bryan Drewery <bryan@shatow.net> | 2018-02-08 05:19:09 +0300 |
---|---|---|
committer | Bryan Drewery <bryan@shatow.net> | 2018-02-08 05:19:09 +0300 |
commit | 29a9daad34ba02025132b3f7ecd5eb3fe0a4bb2c (patch) | |
tree | 2823bf8def7014fae9e0fe57e4ba9dc66d779943 /external/sh | |
parent | 0582103ab4ce0cf7949f0d46e0b9518e19117879 (diff) |
sh: expose gotsig
Diffstat (limited to 'external/sh')
-rw-r--r-- | external/sh/trap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/external/sh/trap.c b/external/sh/trap.c index d6b0dfa2..8a230241 100644 --- a/external/sh/trap.c +++ b/external/sh/trap.c @@ -79,7 +79,7 @@ volatile sig_atomic_t pendingsig; /* indicates some signal received */ volatile sig_atomic_t pendingsig_waitcmd; /* indicates wait builtin should be interrupted */ static int in_dotrap; /* do we execute in a trap handler? */ static char *volatile trap[NSIG]; /* trap handler commands */ -static volatile sig_atomic_t gotsig[NSIG]; +volatile sig_atomic_t gotsig[NSIG]; /* indicates specified signal received */ static int ignore_sigchld; /* Used while handling SIGCHLD traps. */ static int last_trapsig; |