diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-04-19 20:21:33 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-04-19 20:24:36 +0200 |
commit | e60c3f2bb71210ca62dc09b1b797443a88b4e3cf (patch) | |
tree | 50147302128a6f8518d75321079f311e39bd61f9 /posix | |
parent | 50511ca46641eb76aef1ca3fd96ad1e97f95c199 (diff) | |
download | glibc-e60c3f2bb71210ca62dc09b1b797443a88b4e3cf.tar.gz |
hurd: Avoid exposing all <sched.h> symbols from sys/types.h
* bits/sched.h: Include <bits/types/struct_sched_param.h> and move struct
sched_param definition to it.
* sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
* bits/types/struct_sched_param.h: New file.
* sysdeps/htl/bits/types/struct___pthread_attr.h: Include
<bits/types/struct_sched_param.h> instead of <sched.h>.
* posix/Makefile (headers): Add bits/types/struct_sched_param.h.
Diffstat (limited to 'posix')
-rw-r--r-- | posix/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/Makefile b/posix/Makefile index 51dcf129ec..e9730eedf0 100644 --- a/posix/Makefile +++ b/posix/Makefile @@ -31,7 +31,7 @@ headers := sys/utsname.h sys/times.h sys/wait.h sys/types.h unistd.h \ bits/local_lim.h tar.h bits/utsname.h bits/confname.h \ bits/waitflags.h bits/waitstatus.h sys/unistd.h sched.h \ bits/sched.h bits/cpu-set.h re_comp.h wait.h bits/environments.h \ - cpio.h spawn.h bits/unistd.h + cpio.h spawn.h bits/unistd.h bits/types/struct_sched_param.h routines := \ uname \ |