diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-09-08 23:50:45 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-09-08 23:50:45 +0000 |
commit | 3d80eeb43a67e038235a3ce4c74ae9b19c6212db (patch) | |
tree | aa4d0158d874186016bd7a444e596db4dd44f11e /libpthread | |
parent | 06af94afa0739045e0b30bde86114d8b9ea6c5fd (diff) |
add hidden_def() macros from glibc but stub them out to cut down on diffs
Diffstat (limited to 'libpthread')
-rw-r--r-- | libpthread/linuxthreads/mutex.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libpthread/linuxthreads/mutex.c b/libpthread/linuxthreads/mutex.c index 7cc344fac..25f6f98c2 100644 --- a/libpthread/linuxthreads/mutex.c +++ b/libpthread/linuxthreads/mutex.c @@ -24,6 +24,9 @@ #include "queue.h" #include "restart.h" +#undef hidden_def +#define hidden_def(sym) + int __pthread_mutex_init(pthread_mutex_t * mutex, const pthread_mutexattr_t * mutex_attr) { @@ -35,6 +38,7 @@ int __pthread_mutex_init(pthread_mutex_t * mutex, return 0; } strong_alias (__pthread_mutex_init, pthread_mutex_init) +hidden_def (__pthread_mutex_init) int __pthread_mutex_destroy(pthread_mutex_t * mutex) { @@ -54,6 +58,7 @@ int __pthread_mutex_destroy(pthread_mutex_t * mutex) } } strong_alias (__pthread_mutex_destroy, pthread_mutex_destroy) +hidden_def (__pthread_mutex_destroy) int __pthread_mutex_trylock(pthread_mutex_t * mutex) { @@ -90,6 +95,7 @@ int __pthread_mutex_trylock(pthread_mutex_t * mutex) } } strong_alias (__pthread_mutex_trylock, pthread_mutex_trylock) +hidden_def (__pthread_mutex_trylock) int __pthread_mutex_lock(pthread_mutex_t * mutex) { @@ -123,6 +129,7 @@ int __pthread_mutex_lock(pthread_mutex_t * mutex) } } strong_alias (__pthread_mutex_lock, pthread_mutex_lock) +hidden_def (__pthread_mutex_lock) int __pthread_mutex_timedlock (pthread_mutex_t *mutex, const struct timespec *abstime) @@ -198,6 +205,7 @@ int __pthread_mutex_unlock(pthread_mutex_t * mutex) } } strong_alias (__pthread_mutex_unlock, pthread_mutex_unlock) +hidden_def (__pthread_mutex_unlock) int __pthread_mutexattr_init(pthread_mutexattr_t *attr) { |