svn commit: trunk/uClibc/libpthread/linuxthreads.old
psm at uclibc.org
psm at uclibc.org
Wed Jan 25 14:49:11 UTC 2006
Author: psm
Date: 2006-01-25 06:49:10 -0800 (Wed, 25 Jan 2006)
New Revision: 13595
Log:
longjmp should use __libc_longjmp, use __typeof again now that it works correctly
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-25 14:48:02 UTC (rev 13594)
+++ trunk/uClibc/libpthread/linuxthreads.old/ptlongjmp.c 2006-01-25 14:49:10 UTC (rev 13595)
@@ -21,8 +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 attribute_noreturn;
+extern __typeof(longjmp) __libc_longjmp attribute_noreturn;
static void pthread_cleanup_upto(__jmp_buf target)
{
@@ -48,5 +48,5 @@
void attribute_noreturn longjmp(jmp_buf env, int val)
{
pthread_cleanup_upto(env->__jmpbuf);
- __libc_siglongjmp(env, val);
+ __libc_longjmp(env, val);
}
More information about the uClibc-cvs
mailing list