summaryrefslogtreecommitdiffstats
path: root/libpthread/linuxthreads/mutex.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-09-13 02:28:34 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-09-13 02:28:34 +0000
commit07a485defae1ef578c5b3ce0d4373201948a7345 (patch)
tree2184f0f32083bd47ef3b82ad016d8d710f8f221f /libpthread/linuxthreads/mutex.c
parent224ca9f63688cdecd80ed01c25f5f62871fe4cfc (diff)
downloaduClibc-alpine-07a485defae1ef578c5b3ce0d4373201948a7345.tar.bz2
uClibc-alpine-07a485defae1ef578c5b3ce0d4373201948a7345.tar.xz
Merge with trunk. "So do that funky merge whiiite boy..."
Diffstat (limited to 'libpthread/linuxthreads/mutex.c')
-rw-r--r--libpthread/linuxthreads/mutex.c8
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)
{