nptl: Move pthread_condattr_destroy implementation into libc

This is part of the libpthread removal project:

  <https://sourceware.org/ml/libc-alpha/2019-10/msg00080.html>

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
Florian Weimer 2020-02-10 11:30:59 +01:00
parent dc260acd38
commit 249afce2e7
32 changed files with 3 additions and 32 deletions

View File

@ -49,6 +49,7 @@ routines = \
pthread_attr_setschedparam \
pthread_attr_setschedpolicy \
pthread_attr_setscope \
pthread_condattr_destroy \
pthread_equal \
pthread_self \
register-atfork \
@ -106,7 +107,7 @@ libpthread-routines = nptl-init nptlfreeres vars events version pt-interp \
old_pthread_cond_init old_pthread_cond_destroy \
old_pthread_cond_wait old_pthread_cond_timedwait \
old_pthread_cond_signal old_pthread_cond_broadcast \
pthread_condattr_init pthread_condattr_destroy \
pthread_condattr_init \
pthread_condattr_getpshared pthread_condattr_setpshared \
pthread_condattr_getclock pthread_condattr_setclock \
pthread_spin_init pthread_spin_destroy \

View File

@ -58,7 +58,7 @@ libpthread {
pthread_cond_wait; pthread_cond_timedwait;
pthread_cond_signal; pthread_cond_broadcast;
pthread_condattr_destroy; pthread_condattr_init;
pthread_condattr_init;
pthread_cancel; pthread_testcancel;
pthread_setcancelstate; pthread_setcanceltype;

View File

@ -56,7 +56,6 @@ name decl \
FORWARD2 (name, int, decl, params, return defretval)
FORWARD (pthread_condattr_destroy, (pthread_condattr_t *attr), (attr), 0)
FORWARD (pthread_condattr_init, (pthread_condattr_t *attr), (attr), 0)
#if SHLIB_COMPAT(libc, GLIBC_2_0, GLIBC_2_3_2)

View File

@ -72,7 +72,6 @@ void __nptl_set_robust (struct pthread *);
#ifdef SHARED
static const struct pthread_functions pthread_functions =
{
.ptr_pthread_condattr_destroy = __pthread_condattr_destroy,
.ptr_pthread_condattr_init = __pthread_condattr_init,
.ptr___pthread_cond_broadcast = __pthread_cond_broadcast,
.ptr___pthread_cond_destroy = __pthread_cond_destroy,

View File

@ -30,7 +30,6 @@ struct xid_command;
the thread functions. */
struct pthread_functions
{
int (*ptr_pthread_condattr_destroy) (pthread_condattr_t *);
int (*ptr_pthread_condattr_init) (pthread_condattr_t *);
int (*ptr___pthread_cond_broadcast) (pthread_cond_t *);
int (*ptr___pthread_cond_destroy) (pthread_cond_t *);

View File

@ -91,7 +91,6 @@ GLIBC_2.17 pthread_cond_init F
GLIBC_2.17 pthread_cond_signal F
GLIBC_2.17 pthread_cond_timedwait F
GLIBC_2.17 pthread_cond_wait F
GLIBC_2.17 pthread_condattr_destroy F
GLIBC_2.17 pthread_condattr_getclock F
GLIBC_2.17 pthread_condattr_getpshared F
GLIBC_2.17 pthread_condattr_init F

View File

@ -51,7 +51,6 @@ GLIBC_2.0 pthread_cond_init F
GLIBC_2.0 pthread_cond_signal F
GLIBC_2.0 pthread_cond_timedwait F
GLIBC_2.0 pthread_cond_wait F
GLIBC_2.0 pthread_condattr_destroy F
GLIBC_2.0 pthread_condattr_init F
GLIBC_2.0 pthread_create F
GLIBC_2.0 pthread_detach F

View File

@ -126,7 +126,6 @@ GLIBC_2.4 pthread_cond_init F
GLIBC_2.4 pthread_cond_signal F
GLIBC_2.4 pthread_cond_timedwait F
GLIBC_2.4 pthread_cond_wait F
GLIBC_2.4 pthread_condattr_destroy F
GLIBC_2.4 pthread_condattr_getclock F
GLIBC_2.4 pthread_condattr_getpshared F
GLIBC_2.4 pthread_condattr_init F

View File

@ -126,7 +126,6 @@ GLIBC_2.4 pthread_cond_init F
GLIBC_2.4 pthread_cond_signal F
GLIBC_2.4 pthread_cond_timedwait F
GLIBC_2.4 pthread_cond_wait F
GLIBC_2.4 pthread_condattr_destroy F
GLIBC_2.4 pthread_condattr_getclock F
GLIBC_2.4 pthread_condattr_getpshared F
GLIBC_2.4 pthread_condattr_init F

View File

@ -99,7 +99,6 @@ GLIBC_2.29 pthread_cond_init F
GLIBC_2.29 pthread_cond_signal F
GLIBC_2.29 pthread_cond_timedwait F
GLIBC_2.29 pthread_cond_wait F
GLIBC_2.29 pthread_condattr_destroy F
GLIBC_2.29 pthread_condattr_getclock F
GLIBC_2.29 pthread_condattr_getpshared F
GLIBC_2.29 pthread_condattr_init F

View File

@ -91,7 +91,6 @@ GLIBC_2.2 pthread_cond_init F
GLIBC_2.2 pthread_cond_signal F
GLIBC_2.2 pthread_cond_timedwait F
GLIBC_2.2 pthread_cond_wait F
GLIBC_2.2 pthread_condattr_destroy F
GLIBC_2.2 pthread_condattr_getpshared F
GLIBC_2.2 pthread_condattr_init F
GLIBC_2.2 pthread_condattr_setpshared F

View File

@ -51,7 +51,6 @@ GLIBC_2.0 pthread_cond_init F
GLIBC_2.0 pthread_cond_signal F
GLIBC_2.0 pthread_cond_timedwait F
GLIBC_2.0 pthread_cond_wait F
GLIBC_2.0 pthread_condattr_destroy F
GLIBC_2.0 pthread_condattr_init F
GLIBC_2.0 pthread_create F
GLIBC_2.0 pthread_detach F

View File

@ -91,7 +91,6 @@ GLIBC_2.2 pthread_cond_init F
GLIBC_2.2 pthread_cond_signal F
GLIBC_2.2 pthread_cond_timedwait F
GLIBC_2.2 pthread_cond_wait F
GLIBC_2.2 pthread_condattr_destroy F
GLIBC_2.2 pthread_condattr_getpshared F
GLIBC_2.2 pthread_condattr_init F
GLIBC_2.2 pthread_condattr_setpshared F

View File

@ -126,7 +126,6 @@ GLIBC_2.4 pthread_cond_init F
GLIBC_2.4 pthread_cond_signal F
GLIBC_2.4 pthread_cond_timedwait F
GLIBC_2.4 pthread_cond_wait F
GLIBC_2.4 pthread_condattr_destroy F
GLIBC_2.4 pthread_condattr_getclock F
GLIBC_2.4 pthread_condattr_getpshared F
GLIBC_2.4 pthread_condattr_init F

View File

@ -51,7 +51,6 @@ GLIBC_2.0 pthread_cond_init F
GLIBC_2.0 pthread_cond_signal F
GLIBC_2.0 pthread_cond_timedwait F
GLIBC_2.0 pthread_cond_wait F
GLIBC_2.0 pthread_condattr_destroy F
GLIBC_2.0 pthread_condattr_init F
GLIBC_2.0 pthread_create F
GLIBC_2.0 pthread_detach F

View File

@ -91,7 +91,6 @@ GLIBC_2.18 pthread_cond_init F
GLIBC_2.18 pthread_cond_signal F
GLIBC_2.18 pthread_cond_timedwait F
GLIBC_2.18 pthread_cond_wait F
GLIBC_2.18 pthread_condattr_destroy F
GLIBC_2.18 pthread_condattr_getclock F
GLIBC_2.18 pthread_condattr_getpshared F
GLIBC_2.18 pthread_condattr_init F

View File

@ -91,7 +91,6 @@ GLIBC_2.18 pthread_cond_init F
GLIBC_2.18 pthread_cond_signal F
GLIBC_2.18 pthread_cond_timedwait F
GLIBC_2.18 pthread_cond_wait F
GLIBC_2.18 pthread_condattr_destroy F
GLIBC_2.18 pthread_condattr_getclock F
GLIBC_2.18 pthread_condattr_getpshared F
GLIBC_2.18 pthread_condattr_init F

View File

@ -51,7 +51,6 @@ GLIBC_2.0 pthread_cond_init F
GLIBC_2.0 pthread_cond_signal F
GLIBC_2.0 pthread_cond_timedwait F
GLIBC_2.0 pthread_cond_wait F
GLIBC_2.0 pthread_condattr_destroy F
GLIBC_2.0 pthread_condattr_init F
GLIBC_2.0 pthread_create F
GLIBC_2.0 pthread_detach F

View File

@ -51,7 +51,6 @@ GLIBC_2.0 pthread_cond_init F
GLIBC_2.0 pthread_cond_signal F
GLIBC_2.0 pthread_cond_timedwait F
GLIBC_2.0 pthread_cond_wait F
GLIBC_2.0 pthread_condattr_destroy F
GLIBC_2.0 pthread_condattr_init F
GLIBC_2.0 pthread_create F
GLIBC_2.0 pthread_detach F

View File

@ -91,7 +91,6 @@ GLIBC_2.21 pthread_cond_init F
GLIBC_2.21 pthread_cond_signal F
GLIBC_2.21 pthread_cond_timedwait F
GLIBC_2.21 pthread_cond_wait F
GLIBC_2.21 pthread_condattr_destroy F
GLIBC_2.21 pthread_condattr_getclock F
GLIBC_2.21 pthread_condattr_getpshared F
GLIBC_2.21 pthread_condattr_init F

View File

@ -51,7 +51,6 @@ GLIBC_2.0 pthread_cond_init F
GLIBC_2.0 pthread_cond_signal F
GLIBC_2.0 pthread_cond_timedwait F
GLIBC_2.0 pthread_cond_wait F
GLIBC_2.0 pthread_condattr_destroy F
GLIBC_2.0 pthread_condattr_init F
GLIBC_2.0 pthread_create F
GLIBC_2.0 pthread_detach F

View File

@ -111,7 +111,6 @@ GLIBC_2.3 pthread_cond_init F
GLIBC_2.3 pthread_cond_signal F
GLIBC_2.3 pthread_cond_timedwait F
GLIBC_2.3 pthread_cond_wait F
GLIBC_2.3 pthread_condattr_destroy F
GLIBC_2.3 pthread_condattr_getpshared F
GLIBC_2.3 pthread_condattr_init F
GLIBC_2.3 pthread_condattr_setpshared F

View File

@ -91,7 +91,6 @@ GLIBC_2.17 pthread_cond_init F
GLIBC_2.17 pthread_cond_signal F
GLIBC_2.17 pthread_cond_timedwait F
GLIBC_2.17 pthread_cond_wait F
GLIBC_2.17 pthread_condattr_destroy F
GLIBC_2.17 pthread_condattr_getclock F
GLIBC_2.17 pthread_condattr_getpshared F
GLIBC_2.17 pthread_condattr_init F

View File

@ -88,7 +88,6 @@ GLIBC_2.27 pthread_cond_init F
GLIBC_2.27 pthread_cond_signal F
GLIBC_2.27 pthread_cond_timedwait F
GLIBC_2.27 pthread_cond_wait F
GLIBC_2.27 pthread_condattr_destroy F
GLIBC_2.27 pthread_condattr_getclock F
GLIBC_2.27 pthread_condattr_getpshared F
GLIBC_2.27 pthread_condattr_init F

View File

@ -51,7 +51,6 @@ GLIBC_2.0 pthread_cond_init F
GLIBC_2.0 pthread_cond_signal F
GLIBC_2.0 pthread_cond_timedwait F
GLIBC_2.0 pthread_cond_wait F
GLIBC_2.0 pthread_condattr_destroy F
GLIBC_2.0 pthread_condattr_init F
GLIBC_2.0 pthread_create F
GLIBC_2.0 pthread_detach F

View File

@ -93,7 +93,6 @@ GLIBC_2.2 pthread_cond_init F
GLIBC_2.2 pthread_cond_signal F
GLIBC_2.2 pthread_cond_timedwait F
GLIBC_2.2 pthread_cond_wait F
GLIBC_2.2 pthread_condattr_destroy F
GLIBC_2.2 pthread_condattr_getpshared F
GLIBC_2.2 pthread_condattr_init F
GLIBC_2.2 pthread_condattr_setpshared F

View File

@ -91,7 +91,6 @@ GLIBC_2.2 pthread_cond_init F
GLIBC_2.2 pthread_cond_signal F
GLIBC_2.2 pthread_cond_timedwait F
GLIBC_2.2 pthread_cond_wait F
GLIBC_2.2 pthread_condattr_destroy F
GLIBC_2.2 pthread_condattr_getpshared F
GLIBC_2.2 pthread_condattr_init F
GLIBC_2.2 pthread_condattr_setpshared F

View File

@ -91,7 +91,6 @@ GLIBC_2.2 pthread_cond_init F
GLIBC_2.2 pthread_cond_signal F
GLIBC_2.2 pthread_cond_timedwait F
GLIBC_2.2 pthread_cond_wait F
GLIBC_2.2 pthread_condattr_destroy F
GLIBC_2.2 pthread_condattr_getpshared F
GLIBC_2.2 pthread_condattr_init F
GLIBC_2.2 pthread_condattr_setpshared F

View File

@ -51,7 +51,6 @@ GLIBC_2.0 pthread_cond_init F
GLIBC_2.0 pthread_cond_signal F
GLIBC_2.0 pthread_cond_timedwait F
GLIBC_2.0 pthread_cond_wait F
GLIBC_2.0 pthread_condattr_destroy F
GLIBC_2.0 pthread_condattr_init F
GLIBC_2.0 pthread_create F
GLIBC_2.0 pthread_detach F

View File

@ -91,7 +91,6 @@ GLIBC_2.2 pthread_cond_init F
GLIBC_2.2 pthread_cond_signal F
GLIBC_2.2 pthread_cond_timedwait F
GLIBC_2.2 pthread_cond_wait F
GLIBC_2.2 pthread_condattr_destroy F
GLIBC_2.2 pthread_condattr_getpshared F
GLIBC_2.2 pthread_condattr_init F
GLIBC_2.2 pthread_condattr_setpshared F

View File

@ -91,7 +91,6 @@ GLIBC_2.2.5 pthread_cond_init F
GLIBC_2.2.5 pthread_cond_signal F
GLIBC_2.2.5 pthread_cond_timedwait F
GLIBC_2.2.5 pthread_cond_wait F
GLIBC_2.2.5 pthread_condattr_destroy F
GLIBC_2.2.5 pthread_condattr_getpshared F
GLIBC_2.2.5 pthread_condattr_init F
GLIBC_2.2.5 pthread_condattr_setpshared F

View File

@ -91,7 +91,6 @@ GLIBC_2.16 pthread_cond_init F
GLIBC_2.16 pthread_cond_signal F
GLIBC_2.16 pthread_cond_timedwait F
GLIBC_2.16 pthread_cond_wait F
GLIBC_2.16 pthread_condattr_destroy F
GLIBC_2.16 pthread_condattr_getclock F
GLIBC_2.16 pthread_condattr_getpshared F
GLIBC_2.16 pthread_condattr_init F