X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fthread%2Fpthread_mutex_timedlock.c;h=16241eeb2938636109d030e2c9bc25635e669e2a;hb=102f6a01e249ce4495f1119ae6d963a2a4a53ce5;hp=ae883f90723793ad09ce16ecd2cd3ad328bfe017;hpb=f5fb20b0e934770c37093105524ea644dcaba5e2;p=musl diff --git a/src/thread/pthread_mutex_timedlock.c b/src/thread/pthread_mutex_timedlock.c index ae883f90..16241eeb 100644 --- a/src/thread/pthread_mutex_timedlock.c +++ b/src/thread/pthread_mutex_timedlock.c @@ -1,6 +1,6 @@ #include "pthread_impl.h" -int pthread_mutex_timedlock(pthread_mutex_t *restrict m, const struct timespec *restrict at) +int __pthread_mutex_timedlock(pthread_mutex_t *restrict m, const struct timespec *restrict at) { if ((m->_m_type&15) == PTHREAD_MUTEX_NORMAL && !a_cas(&m->_m_lock, 0, EBUSY)) @@ -30,3 +30,5 @@ int pthread_mutex_timedlock(pthread_mutex_t *restrict m, const struct timespec * } return r; } + +weak_alias(__pthread_mutex_timedlock, pthread_mutex_timedlock);