svn commit: branches/uClibc_0_9_28/libc/sysdeps/linux/common/bits
andersen at uclibc.org
andersen at uclibc.org
Wed Feb 28 21:13:09 UTC 2007
Author: andersen
Date: 2007-02-28 13:13:08 -0800 (Wed, 28 Feb 2007)
New Revision: 17986
Log:
remove the weak_function bits I inadvertantly left in when backporting.
For the uClibc 0.9.28.x releases, this stuff is handled differently...
Modified:
branches/uClibc_0_9_28/libc/sysdeps/linux/common/bits/uClibc_pthread.h
Changeset:
Modified: branches/uClibc_0_9_28/libc/sysdeps/linux/common/bits/uClibc_pthread.h
===================================================================
--- branches/uClibc_0_9_28/libc/sysdeps/linux/common/bits/uClibc_pthread.h 2007-02-28 21:12:06 UTC (rev 17985)
+++ branches/uClibc_0_9_28/libc/sysdeps/linux/common/bits/uClibc_pthread.h 2007-02-28 21:13:08 UTC (rev 17986)
@@ -28,21 +28,20 @@
#endif
#if defined _LIBC
-/* Threading functions internal to uClibc. Make these thread functions
- * weak so that we can elide them from single-threaded processes. */
-extern int weak_function __pthread_mutex_init (pthread_mutex_t *__mutex,
+/* Threading functions internal to uClibc. */
+extern int __pthread_mutex_init (pthread_mutex_t *__mutex,
__const pthread_mutexattr_t *__mutex_attr);
-extern int weak_function __pthread_mutex_destroy (pthread_mutex_t *__mutex);
-extern int weak_function __pthread_mutex_lock (pthread_mutex_t *__mutex);
-extern int weak_function __pthread_mutex_unlock (pthread_mutex_t *__mutex);
+extern int __pthread_mutex_destroy (pthread_mutex_t *__mutex);
+extern int __pthread_mutex_lock (pthread_mutex_t *__mutex);
+extern int __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);
+extern int __pthread_mutex_trylock (pthread_mutex_t *__mutex);
struct _pthread_cleanup_buffer;
-extern void weak_function _pthread_cleanup_push_defer (
+extern void _pthread_cleanup_push_defer (
struct _pthread_cleanup_buffer *__buffer,
void (*__routine) (void *), void *__arg);
-extern void weak_function _pthread_cleanup_pop_restore (
+extern void _pthread_cleanup_pop_restore (
struct _pthread_cleanup_buffer *__buffer,
int __execute);
#endif
More information about the uClibc-cvs
mailing list