aboutsummaryrefslogtreecommitdiff
path: root/htl
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-01-13 19:46:25 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-02-09 13:56:45 +0100
commite775f443bda95c0ff494879e9ee84d482292ad7e (patch)
tree4ff77e4e78ee840fbdc42c2c64c00d49418b08f2 /htl
parent0093df204ad5858a81cbefaaa091770071ee710b (diff)
downloadglibc-e775f443bda95c0ff494879e9ee84d482292ad7e.tar
glibc-e775f443bda95c0ff494879e9ee84d482292ad7e.tar.gz
glibc-e775f443bda95c0ff494879e9ee84d482292ad7e.tar.bz2
glibc-e775f443bda95c0ff494879e9ee84d482292ad7e.zip
htl: Rename _pthread_mutex_init/destroy to __pthread_mutex_init/destroy
Diffstat (limited to 'htl')
-rw-r--r--htl/Versions3
-rw-r--r--htl/pt-initialize.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/htl/Versions b/htl/Versions
index 8df40c7af7..f9281649a7 100644
--- a/htl/Versions
+++ b/htl/Versions
@@ -149,9 +149,10 @@ libpthread {
__pthread_setspecific;
__pthread_getattr_np;
__pthread_attr_getstack;
+ __pthread_mutex_init;
+ __pthread_mutex_destroy;
__pthread_mutex_timedlock;
- _pthread_mutex_destroy; _pthread_mutex_init;
_pthread_mutex_lock; _pthread_mutex_trylock; _pthread_mutex_unlock;
_pthread_rwlock_destroy; _pthread_rwlock_init;
}
diff --git a/htl/pt-initialize.c b/htl/pt-initialize.c
index d5a64f7cd9..89ed742422 100644
--- a/htl/pt-initialize.c
+++ b/htl/pt-initialize.c
@@ -51,8 +51,8 @@ static const struct pthread_functions pthread_functions = {
.ptr___pthread_exit = __pthread_exit,
.ptr_pthread_getschedparam = __pthread_getschedparam,
.ptr_pthread_setschedparam = __pthread_setschedparam,
- .ptr_pthread_mutex_destroy = _pthread_mutex_destroy,
- .ptr_pthread_mutex_init = _pthread_mutex_init,
+ .ptr_pthread_mutex_destroy = __pthread_mutex_destroy,
+ .ptr_pthread_mutex_init = __pthread_mutex_init,
.ptr_pthread_mutex_lock = __pthread_mutex_lock,
.ptr_pthread_mutex_trylock = __pthread_mutex_trylock,
.ptr_pthread_mutex_unlock = __pthread_mutex_unlock,