From 4a2cd146dfed0711331a6504a50635d6006c024d Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 24 Jan 2006 14:52:47 +0000 Subject: Use __typeof for __libc*longjmp --- libpthread/linuxthreads.old/ptlongjmp.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'libpthread') 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) { -- cgit v1.2.3