summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-12-09 08:35:37 +0000
committerEric Andersen <andersen@codepoet.org>2006-12-09 08:35:37 +0000
commitc63a44c724204e8a6a156a81de20314c14791f5f (patch)
tree2a76fda239575238e95683933b093afbcfb04ed2
parentc36fe58f4440370fd444419edd3a3497978c4424 (diff)
oops, use __pthread_mutex_unlock() not pthread_mutex_unlock()
-rw-r--r--libc/misc/pthread/unlock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/misc/pthread/unlock.c b/libc/misc/pthread/unlock.c
index b8adbd813..04de0df58 100644
--- a/libc/misc/pthread/unlock.c
+++ b/libc/misc/pthread/unlock.c
@@ -18,9 +18,10 @@
Boston, MA 02111-1307, USA. */
#include <pthread.h>
+#include <bits/uClibc_mutex.h>
void attribute_hidden __uclibc_mutex_unlock (void *arg)
{
pthread_mutex_t *__mutex = (pthread_mutex_t *)arg;
- pthread_mutex_unlock(__mutex);
+ __pthread_mutex_unlock(__mutex);
}