summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old/ptlongjmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/linuxthreads.old/ptlongjmp.c')
-rw-r--r--libpthread/linuxthreads.old/ptlongjmp.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/libpthread/linuxthreads.old/ptlongjmp.c b/libpthread/linuxthreads.old/ptlongjmp.c
index c0ea8223a..ca29c7722 100644
--- a/libpthread/linuxthreads.old/ptlongjmp.c
+++ b/libpthread/linuxthreads.old/ptlongjmp.c
@@ -21,11 +21,8 @@
/* These functions are not declared anywhere since they shouldn't be
used at another place but here. */
-extern void __libc_siglongjmp (sigjmp_buf env, int val)
- __attribute__ ((noreturn));
-extern void __libc_longjmp (sigjmp_buf env, int val)
- __attribute__ ((noreturn));
-
+extern __typeof(siglongjmp) __libc_siglongjmp;
+extern __typeof(longjmp) __libc_longjmp;
static void pthread_cleanup_upto(__jmp_buf target)
{