htl: Hide __pthread_attr's __schedparam type [BZ #23088]
commit1bd7a06a958e93dbd10d99d30ee9ad82fca13f48
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 15 Jan 2022 16:35:51 +0000 (15 17:35 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 15 Jan 2022 20:31:08 +0000 (15 21:31 +0100)
tree07a368ec2acde2179d376eebd0a871f737a69144
parentc1105e34aced53b26f02176b973079eb30fc54b1
htl: Hide __pthread_attr's __schedparam type [BZ #23088]

The content of the structure is only used internally, so we can make
__pthread_attr_getschedparam and __pthread_attr_setschedparam convert
between the public sched_param type and an internal __sched_param.

This allows to avoid to spuriously expose the sched_param type.

This fixes BZ #23088.
sysdeps/htl/bits/types/struct___pthread_attr.h
sysdeps/htl/pt-attr-getschedparam.c
sysdeps/htl/pt-attr-setschedparam.c
sysdeps/htl/pt-attr.c
sysdeps/htl/timer_routines.h
sysdeps/mach/hurd/i386/Makefile