summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/e1/bits/setjmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/e1/bits/setjmp.h')
-rw-r--r--libc/sysdeps/linux/e1/bits/setjmp.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/e1/bits/setjmp.h b/libc/sysdeps/linux/e1/bits/setjmp.h
new file mode 100644
index 000000000..88ded3837
--- /dev/null
+++ b/libc/sysdeps/linux/e1/bits/setjmp.h
@@ -0,0 +1,18 @@
+/* This file is lisenced under LGPL.
+ * Copyright (C) 2002-2003, George Thanos <george.thanos@gdt.gr>
+ * Yannis Mitsos <yannis.mitsos@gdt.gr>
+ */
+
+#ifndef _SETJMP_H
+# error "Never include <bits/setjmp.h> directly; use <setjmp.h> instead."
+#endif
+
+typedef struct {
+ unsigned long G3;
+ unsigned long G4;
+ unsigned long SavedSP;
+ unsigned long SavedPC;
+ unsigned long SavedSR;
+ unsigned long ReturnValue;
+} __jmp_buf[1];
+