diff options
author | Chet Ramey <chet.ramey@case.edu> | 2013-03-26 20:51:22 -0400 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2013-03-26 20:51:22 -0400 |
commit | c7e43312f9b44c8aeb42b99152cc3e5dcac89a46 (patch) | |
tree | 449335a1e8d14a2c3e73fb247b818b72bef69b27 /quit.h | |
parent | 8eb22ee966b0276194bbda0d6c8b109f4636edd3 (diff) | |
download | bash-c7e43312f9b44c8aeb42b99152cc3e5dcac89a46.tar.gz |
commit bash-20130301 snapshot
Diffstat (limited to 'quit.h')
-rw-r--r-- | quit.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -21,9 +21,11 @@ #if !defined (_QUIT_H_) #define _QUIT_H_ +#include "sig.h" /* for sig_atomic_t */ + /* Non-zero means SIGINT has already ocurred. */ -extern volatile int interrupt_state; -extern volatile int terminating_signal; +extern volatile sig_atomic_t interrupt_state; +extern volatile sig_atomic_t terminating_signal; /* Macro to call a great deal. SIGINT just sets the interrupt_state variable. When it is safe, put QUIT in the code, and the "interrupt" will take |