aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/setjmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/setjmp.h')
-rw-r--r--arch/x86/include/asm/setjmp.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/x86/include/asm/setjmp.h b/arch/x86/include/asm/setjmp.h
index 49c36c1..15915d0 100644
--- a/arch/x86/include/asm/setjmp.h
+++ b/arch/x86/include/asm/setjmp.h
@@ -34,7 +34,9 @@ struct jmp_buf_data {
#endif
-int setjmp(struct jmp_buf_data *jmp_buf);
-void longjmp(struct jmp_buf_data *jmp_buf, int val);
+typedef struct jmp_buf_data jmp_buf[1];
+
+int setjmp(jmp_buf env);
+void longjmp(jmp_buf env, int val);
#endif