summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortim <tim>1997-07-01 20:00:09 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:01 +0100
commit83b03b1ee0c43a7068e387cecf1e43d73b0c66a3 (patch)
treec4cc16bcd968285f267f0b0849954259a152d70a
parentdf8f2d58845819d1973779918d9c97018edc1170 (diff)
use setjmp.h, rather than our prototypes
-rw-r--r--jbwrap.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/jbwrap.h b/jbwrap.h
index a31ef19..7d0358b 100644
--- a/jbwrap.h
+++ b/jbwrap.h
@@ -1,3 +1,5 @@
+#include <setjmp.h>
+
/* certain braindamaged environments don't define jmp_buf as an array, so... */
struct Jbwrap {
@@ -5,6 +7,3 @@ struct Jbwrap {
};
extern Jbwrap slowbuf; /* for getting out of interrupts while performing slow i/o on BSD */
-
-extern int setjmp(jmp_buf);
-extern void longjmp(jmp_buf, int);