diff options
author | gfleury <gfleury@disroot.org> | 2024-11-18 13:21:36 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-11-19 01:19:00 +0100 |
commit | 4bcda927fe0591de4bf016a23209f0d3f692879a (patch) | |
tree | 99469df0a0878c6d2e5a037431df81555dab4503 /htl | |
parent | 6caf24c972ccbc8584f9892c825ab18057cbf626 (diff) | |
download | glibc-4bcda927fe0591de4bf016a23209f0d3f692879a.tar.gz glibc-4bcda927fe0591de4bf016a23209f0d3f692879a.tar.xz glibc-4bcda927fe0591de4bf016a23209f0d3f692879a.zip |
htl move pthread_attr_getscope into libc.
Signed-off-by: gfleury <gfleury@disroot.org>
Diffstat (limited to 'htl')
-rw-r--r-- | htl/Makefile | 2 | ||||
-rw-r--r-- | htl/Versions | 3 | ||||
-rw-r--r-- | htl/forward.c | 2 | ||||
-rw-r--r-- | htl/pt-initialize.c | 1 |
4 files changed, 3 insertions, 5 deletions
diff --git a/htl/Makefile b/htl/Makefile index 0318f8561e..d8a5757d0b 100644 --- a/htl/Makefile +++ b/htl/Makefile @@ -25,7 +25,6 @@ SYSDEPS := lockfile LCLHDRS := libpthread-routines := \ - pt-attr-getscope \ pt-attr-getstack \ pt-attr-getstackaddr \ pt-attr-getstacksize \ @@ -203,6 +202,7 @@ routines := \ pt-attr-getinheritsched \ pt-attr-getschedparam \ pt-attr-getschedpolicy \ + pt-attr-getscope \ pt-attr-setdetachstate \ pt-attr-setinheritsched \ pt-attr-setschedpolicy \ diff --git a/htl/Versions b/htl/Versions index 336d81bd7c..4372c2de8f 100644 --- a/htl/Versions +++ b/htl/Versions @@ -15,6 +15,7 @@ libc { pthread_setschedparam; pthread_attr_destroy; pthread_attr_getguardsize; + pthread_attr_getscope; } GLIBC_2.21 { @@ -85,7 +86,7 @@ libpthread { pthread_atfork; - pthread_attr_getscope; pthread_attr_getstack; pthread_attr_getstackaddr; + pthread_attr_getstack; pthread_attr_getstackaddr; pthread_attr_getstacksize; pthread_attr_init; pthread_attr_setguardsize; pthread_attr_setschedparam; diff --git a/htl/forward.c b/htl/forward.c index 579e8cba4c..6644d67da6 100644 --- a/htl/forward.c +++ b/htl/forward.c @@ -59,8 +59,6 @@ FORWARD (pthread_attr_setschedparam, (pthread_attr_t *attr, const struct sched_param *param), (attr, param), 0) -FORWARD (pthread_attr_getscope, - (const pthread_attr_t *attr, int *scope), (attr, scope), 0) FORWARD (pthread_attr_setscope, (pthread_attr_t *attr, int scope), (attr, scope), 0) diff --git a/htl/pt-initialize.c b/htl/pt-initialize.c index 0368bfa4c7..0d20f39e51 100644 --- a/htl/pt-initialize.c +++ b/htl/pt-initialize.c @@ -29,7 +29,6 @@ static const struct pthread_functions pthread_functions = { .ptr_pthread_attr_init = __pthread_attr_init, .ptr_pthread_attr_setschedparam = __pthread_attr_setschedparam, - .ptr_pthread_attr_getscope = __pthread_attr_getscope, .ptr_pthread_attr_setscope = __pthread_attr_setscope, .ptr_pthread_condattr_destroy = __pthread_condattr_destroy, .ptr_pthread_condattr_init = __pthread_condattr_init, |