aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc/setjmp.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-10-09 07:27:06 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-10-09 07:27:06 -0700
commit8c35202927a7cd8f14b219e4949195e1e6bc6946 (patch)
tree2cc79d36f916c220b3bc449cba4d3ab602f534c4 /system/include/libc/setjmp.h
parentefaf3590ac33702eeff423e31e85f690b1fc7eb2 (diff)
parent06354eda6092add55034c692bd65734a61083e8b (diff)
Merge branch 'llvm-svn'
Conflicts: src/dlmalloc.c tests/dlmalloc.c tests/runner.py tools/shared.py
Diffstat (limited to 'system/include/libc/setjmp.h')
-rw-r--r--system/include/libc/setjmp.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/system/include/libc/setjmp.h b/system/include/libc/setjmp.h
new file mode 100644
index 00000000..c958d904
--- /dev/null
+++ b/system/include/libc/setjmp.h
@@ -0,0 +1,20 @@
+/*
+ setjmp.h
+ stubs for future use.
+*/
+
+#ifndef _SETJMP_H_
+#define _SETJMP_H_
+
+#include "_ansi.h"
+#include <machine/setjmp.h>
+
+_BEGIN_STD_C
+
+void _EXFUN(longjmp,(jmp_buf __jmpb, int __retval));
+int _EXFUN(setjmp,(jmp_buf __jmpb));
+
+_END_STD_C
+
+#endif /* _SETJMP_H_ */
+