Преглед изворни кода

oops, use __pthread_mutex_unlock() not pthread_mutex_unlock()

Eric Andersen пре 19 година
родитељ
комит
c63a44c724
1 измењених фајлова са 2 додато и 1 уклоњено
  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);
 }