svn commit: trunk/uClibc/libpthread/linuxthreads.old
psm at uclibc.org
psm at uclibc.org
Tue Jan 24 14:52:49 UTC 2006
Author: psm
Date: 2006-01-24 06:52:47 -0800 (Tue, 24 Jan 2006)
New Revision: 13553
Log:
Use __typeof for __libc*longjmp
Modified:
trunk/uClibc/libpthread/linuxthreads.old/ptlongjmp.c
Changeset:
Modified: trunk/uClibc/libpthread/linuxthreads.old/ptlongjmp.c
===================================================================
--- trunk/uClibc/libpthread/linuxthreads.old/ptlongjmp.c 2006-01-24 14:40:45 UTC (rev 13552)
+++ trunk/uClibc/libpthread/linuxthreads.old/ptlongjmp.c 2006-01-24 14:52:47 UTC (rev 13553)
@@ -21,12 +21,9 @@
/* 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)
{
pthread_descr self = thread_self();
More information about the uClibc-cvs
mailing list