aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Eric Andersen <andersen@codepoet.org>2007-02-28 21:13:08 +0000
committerGravatar Eric Andersen <andersen@codepoet.org>2007-02-28 21:13:08 +0000
commit7313e0095e342f0f5fadeb0c78207c054ae67656 (patch)
tree3e8e6da34c2894da60185f1d25929598e4798a00
parentb99e4b2117310acba51c00bf99f9ce8fb12f9fa4 (diff)
downloaduClibc-7313e0095e342f0f5fadeb0c78207c054ae67656.tar.gz
uClibc-7313e0095e342f0f5fadeb0c78207c054ae67656.tar.bz2
remove the weak_function bits I inadvertantly left in when backporting.
For the uClibc 0.9.28.x releases, this stuff is handled differently...
-rw-r--r--libc/sysdeps/linux/common/bits/uClibc_pthread.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/libc/sysdeps/linux/common/bits/uClibc_pthread.h b/libc/sysdeps/linux/common/bits/uClibc_pthread.h
index 0ca2c44b2..6767fb2c5 100644
--- a/libc/sysdeps/linux/common/bits/uClibc_pthread.h
+++ b/libc/sysdeps/linux/common/bits/uClibc_pthread.h
@@ -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