summaryrefslogtreecommitdiffstats
path: root/bin/sh/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sh/error.h')
-rw-r--r--bin/sh/error.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/sh/error.h b/bin/sh/error.h
index bb3eafe..eb0f523 100644
--- a/bin/sh/error.h
+++ b/bin/sh/error.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)error.h 8.2 (Berkeley) 5/4/95
- * $Id$
+ * $Id: error.h,v 1.7 1997/02/22 13:58:23 peter Exp $
*/
/*
@@ -57,6 +57,7 @@
*/
#include <setjmp.h>
+#include <signal.h>
struct jmploc {
jmp_buf loc;
@@ -79,8 +80,8 @@ extern int exception;
* more fun than worrying about efficiency and portability. :-))
*/
-extern volatile int suppressint;
-extern volatile int intpending;
+extern volatile sig_atomic_t suppressint;
+extern volatile sig_atomic_t intpending;
extern char *commandname; /* name of command--printed on error */
#define INTOFF suppressint++
OpenPOWER on IntegriCloud