diff options
author | Mike Crowe <mac@mcrowe.com> | 2019-07-17 14:51:08 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-07-18 11:24:33 -0300 |
commit | 4a8f6d3155e60c19158208ee14022f04c8b0334d (patch) | |
tree | a4724a579ce8acac118fabad963d737da3872e25 /nptl/forward.c | |
parent | 9208c3b8043cc1d9bb2c6beb57a208b7ec295020 (diff) | |
download | glibc-4a8f6d3155e60c19158208ee14022f04c8b0334d.tar.gz glibc-4a8f6d3155e60c19158208ee14022f04c8b0334d.tar.xz glibc-4a8f6d3155e60c19158208ee14022f04c8b0334d.zip |
nptl: Remove unnecessary forwarding of pthread_cond_clockwait from libc
In afe4de7d283ebd88157126c5494ce1796194c16e, I added forwarding functions from libc to libpthread for __pthread_cond_clockwait and pthread_cond_clockwait to mirror those for pthread_cond_timedwait. These are unnecessary[1], since these functions aren't (yet) being called from within libc itself. Let's remove them. * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and pthread_cond_clockwait forwarding functions. There are no internal users, so it is unnecessary to expose these functions in libc.so. * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove unnecessary ptr___pthread_cond_clockwait member. * nptl/nptl-init.c (pthread_functions): Remove assignment of removed member. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> [1] https://sourceware.org/ml/libc-alpha/2017-10/msg00082.html
Diffstat (limited to 'nptl/forward.c')
-rw-r--r-- | nptl/forward.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/nptl/forward.c b/nptl/forward.c index 50f358f2b1..ed1e7d0350 100644 --- a/nptl/forward.c +++ b/nptl/forward.c @@ -164,11 +164,6 @@ FORWARD (__pthread_cond_timedwait, const struct timespec *abstime), (cond, mutex, abstime), 0) versioned_symbol (libc, __pthread_cond_timedwait, pthread_cond_timedwait, GLIBC_2_3_2); -FORWARD (__pthread_cond_clockwait, - (pthread_cond_t *cond, pthread_mutex_t *mutex, clockid_t clockid, - const struct timespec *abstime), (cond, mutex, clockid, abstime), - 0) -weak_alias (__pthread_cond_clockwait, pthread_cond_clockwait); FORWARD (pthread_equal, (pthread_t thread1, pthread_t thread2), |