mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 04:50:07 +00:00
9bc6103d04
This patch makes files using __ASSUME_* macros include <kernel-features.h> explicitly, rather than relying on some other header (such as tls.h, lowlevellock.h or pthreadP.h) to include it implicitly. (I omitted cases where I've already posted or am testing the patch that stops the file from needing __ASSUME_* at all.) This accords with the general principle of making source files include the headers for anything they use, and also helps make it safe to remove <kernel-features.h> includes from any file that doesn't use __ASSUME_* (some of those may be stray includes left behind after increasing the minimum kernel version, others may never have been needed or may have become obsolete after some other change). Tested x86_64 that the disassembly of installed shared libraries is unchanged by this patch. * nptl/pthread_cond_wait.c: Include <kernel-features.h>. * nptl/pthread_rwlock_timedrdlock.c: Likewise. * nptl/pthread_rwlock_timedwrlock.c: Likewise. * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise. * nscd/nscd.c: Likewise. * sysdeps/i386/nptl/tcb-offsets.sym: Likewise. * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise. * sysdeps/sh/nptl/tcb-offsets.sym: Likewise. * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise. |
||
---|---|---|
.. | ||
aicache.c | ||
cache.c | ||
connections.c | ||
dbg_log.c | ||
dbg_log.h | ||
Depend | ||
gai.c | ||
getgrgid_r.c | ||
getgrnam_r.c | ||
gethstbyad_r.c | ||
gethstbynm3_r.c | ||
getpwnam_r.c | ||
getpwuid_r.c | ||
getsrvbynm_r.c | ||
getsrvbypt_r.c | ||
grpcache.c | ||
hstcache.c | ||
initgrcache.c | ||
Makefile | ||
mem.c | ||
netgroupcache.c | ||
nscd_conf.c | ||
nscd_getai.c | ||
nscd_getgr_r.c | ||
nscd_gethst_r.c | ||
nscd_getpw_r.c | ||
nscd_getserv_r.c | ||
nscd_helper.c | ||
nscd_initgroups.c | ||
nscd_netgroup.c | ||
nscd_proto.h | ||
nscd_setup_thread.c | ||
nscd_stat.c | ||
nscd-client.h | ||
nscd.c | ||
nscd.conf | ||
nscd.h | ||
nscd.init | ||
nscd.service | ||
nscd.tmpfiles | ||
pwdcache.c | ||
res_hconf.c | ||
selinux.c | ||
selinux.h | ||
servicescache.c |