summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old/ptlongjmp.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-24 14:52:47 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-24 14:52:47 +0000
commit4a2cd146dfed0711331a6504a50635d6006c024d (patch)
tree47d9925936bda84156170aa860818d9841eded44 /libpthread/linuxthreads.old/ptlongjmp.c
parent75df202c7127f8cb6bc08ff56e52bd38af3265e7 (diff)
Use __typeof for __libc*longjmp
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)
{