summaryrefslogtreecommitdiff
path: root/include/setjmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/setjmp.h')
-rw-r--r--include/setjmp.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/setjmp.h b/include/setjmp.h
index e6f437b93..5d7df3667 100644
--- a/include/setjmp.h
+++ b/include/setjmp.h
@@ -94,8 +94,10 @@ __END_DECLS
#ifdef _LIBC
extern void __longjmp(__jmp_buf __env, int __val) __THROWNL attribute_noreturn;
libc_hidden_proto(__longjmp)
-extern __typeof(longjmp) __libc_longjmp __THROWNL attribute_noreturn;
-extern __typeof(siglongjmp) __libc_siglongjmp __THROWNL attribute_noreturn;
+extern void __libc_longjmp(struct __jmp_buf_tag __env[1], int __val)
+ __THROWNL attribute_noreturn;
+extern void __libc_siglongjmp(sigjmp_buf __env, int __val)
+ __THROWNL attribute_noreturn;
extern void _longjmp_unwind(jmp_buf __env, int __val);
libc_hidden_proto(_longjmp_unwind)
extern int __sigjmp_save(sigjmp_buf __env, int __savemask) attribute_hidden;