svn commit: trunk/uClibc/libpthread/linuxthreads

psm at uclibc.org psm at uclibc.org
Wed Feb 1 01:34:37 UTC 2006


Author: psm
Date: 2006-01-31 17:34:36 -0800 (Tue, 31 Jan 2006)
New Revision: 13773

Log:
__pthread_exit is noreturn only within libpthread

Modified:
   trunk/uClibc/libpthread/linuxthreads/internals.h


Changeset:
Modified: trunk/uClibc/libpthread/linuxthreads/internals.h
===================================================================
--- trunk/uClibc/libpthread/linuxthreads/internals.h	2006-02-01 01:29:20 UTC (rev 13772)
+++ trunk/uClibc/libpthread/linuxthreads/internals.h	2006-02-01 01:34:36 UTC (rev 13773)
@@ -366,7 +366,11 @@
 extern pthread_descr __pthread_thread_self (void);
 extern pthread_descr __pthread_self_stack (void) attribute_hidden;
 extern int __pthread_equal (pthread_t thread1, pthread_t thread2);
-extern void __pthread_exit (void *retval) attribute_noreturn;
+extern void __pthread_exit (void *retval)
+#if defined NOT_IN_libc && defined IS_IN_libpthread
+	attribute_noreturn
+#endif
+	;
 extern int __pthread_getschedparam (pthread_t thread, int *policy,
 				    struct sched_param *param);
 extern int __pthread_setschedparam (pthread_t thread, int policy,



More information about the uClibc-cvs mailing list