Browse Source

oops, use __pthread_mutex_unlock() not pthread_mutex_unlock()

Eric Andersen 18 years ago
parent
commit
c63a44c724
1 changed files with 2 additions and 1 deletions
  1. 2 1
      libc/misc/pthread/unlock.c

+ 2 - 1
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);
 }