svn commit: trunk/uClibc: libc/sysdeps/linux/common/bits libpthrea etc...

psm at uclibc.org psm at uclibc.org
Thu Feb 16 15:31:34 UTC 2006


Author: psm
Date: 2006-02-16 07:31:32 -0800 (Thu, 16 Feb 2006)
New Revision: 14078

Log:
Undo earlier change and sync new linuxthreads' guard w/ old

Modified:
   trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_pthread.h
   trunk/uClibc/libpthread/linuxthreads/sysdeps/pthread/pthread.h


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_pthread.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_pthread.h	2006-02-16 14:38:41 UTC (rev 14077)
+++ trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_pthread.h	2006-02-16 15:31:32 UTC (rev 14078)
@@ -27,13 +27,11 @@
 # error "Always include <pthread.h> rather than <bits/uClibc_pthread.h>"
 #endif
 
-#if defined _LIBC && ( defined IS_IN_libc || defined NOT_IN_libc )
 extern int __pthread_mutex_init (pthread_mutex_t *__restrict __mutex,
 								 __const pthread_mutexattr_t *__restrict
 								 __mutex_attr) attribute_hidden;
 extern int __pthread_mutex_trylock (pthread_mutex_t *__mutex) attribute_hidden;
 extern int __pthread_mutex_lock (pthread_mutex_t *__mutex) attribute_hidden;
 extern int __pthread_mutex_unlock (pthread_mutex_t *__mutex) attribute_hidden;
-#endif
 
 #endif

Modified: trunk/uClibc/libpthread/linuxthreads/sysdeps/pthread/pthread.h
===================================================================
--- trunk/uClibc/libpthread/linuxthreads/sysdeps/pthread/pthread.h	2006-02-16 14:38:41 UTC (rev 14077)
+++ trunk/uClibc/libpthread/linuxthreads/sysdeps/pthread/pthread.h	2006-02-16 15:31:32 UTC (rev 14078)
@@ -24,7 +24,7 @@
 #include <signal.h>
 #include <bits/pthreadtypes.h>
 #include <bits/initspin.h>
-#ifdef _LIBC
+#if defined _LIBC && ( defined IS_IN_libc && NOT_IN_libc )
 #include <bits/uClibc_pthread.h>
 #endif
 




More information about the uClibc-cvs mailing list