svn commit: trunk/uClibc/libc/sysdeps/linux/common/bits

sjhill at uclibc.org sjhill at uclibc.org
Sat Jan 20 14:03:03 PST 2007


Author: sjhill
Date: 2007-01-20 14:03:02 -0800 (Sat, 20 Jan 2007)
New Revision: 17424

Log:
Disable declarations for NPTL.


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


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_pthread.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_pthread.h	2007-01-20 21:46:20 UTC (rev 17423)
+++ trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_pthread.h	2007-01-20 22:03:02 UTC (rev 17424)
@@ -37,12 +37,14 @@
 extern int weak_function __pthread_mutex_unlock (pthread_mutex_t *__mutex);
 extern void __uclibc_mutex_unlock (void *) attribute_hidden;
 extern int weak_function __pthread_mutex_trylock (pthread_mutex_t *__mutex);
+# ifndef __UCLIBC_HAS_THREADS_NATIVE__
 extern void weak_function _pthread_cleanup_push_defer (
 		struct _pthread_cleanup_buffer *__buffer,
 		void (*__routine) (void *), void *__arg);
 extern void weak_function _pthread_cleanup_pop_restore (
 		struct _pthread_cleanup_buffer *__buffer,
 		int __execute);
+# endif
 #endif
 
 #endif



More information about the uClibc-cvs mailing list