getservbyport_r: fix out-of-bounds buffer read
[musl] / src / thread / mtx_unlock.c
index ac91f99..2e5c8cf 100644 (file)
@@ -1,8 +1,6 @@
 #include <threads.h>
 #include <pthread.h>
 
-int __pthread_mutex_unlock(pthread_mutex_t *);
-
 int mtx_unlock(mtx_t *mtx)
 {
        /* The only cases where pthread_mutex_unlock can return an