X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fthread%2Fpthread_rwlock_wrlock.c;h=46a3b3a5b0af073191b21a21e99f6ab0376fc154;hb=1ef37aa00ea830dfda76e04e3d941cafa74d8b76;hp=7f33535c7d9bb08f3fc0ce7db13edc0de70f24a1;hpb=50304f2eefb4c79ceaf4605203f3825a35d831c0;p=musl diff --git a/src/thread/pthread_rwlock_wrlock.c b/src/thread/pthread_rwlock_wrlock.c index 7f33535c..46a3b3a5 100644 --- a/src/thread/pthread_rwlock_wrlock.c +++ b/src/thread/pthread_rwlock_wrlock.c @@ -1,6 +1,8 @@ #include "pthread_impl.h" -int pthread_rwlock_wrlock(pthread_rwlock_t *rw) +int __pthread_rwlock_wrlock(pthread_rwlock_t *rw) { - return pthread_rwlock_timedwrlock(rw, 0); + return __pthread_rwlock_timedwrlock(rw, 0); } + +weak_alias(__pthread_rwlock_wrlock, pthread_rwlock_wrlock);