summaryrefslogtreecommitdiffstats
path: root/src/include/setjmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/setjmp.h')
-rw-r--r--src/include/setjmp.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/setjmp.h b/src/include/setjmp.h
new file mode 100644
index 000000000..d8cd02f46
--- /dev/null
+++ b/src/include/setjmp.h
@@ -0,0 +1,14 @@
+#ifndef _SETJMP_H
+#define _SETJMP_H
+
+FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+
+#include <bits/setjmp.h>
+
+extern int __asmcall __attribute__ (( returns_twice ))
+setjmp ( jmp_buf env );
+
+extern void __asmcall __attribute__ (( noreturn ))
+longjmp ( jmp_buf env, int val );
+
+#endif /* _SETJMP_H */