mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 07:20:11 +00:00
ec999b8e5e
It was noted in <https://sourceware.org/ml/libc-alpha/2012-09/msg00305.html> that the bits/*.h naming scheme should only be used for installed headers. This patch renames bits/libc-lock.h to plain libc-lock.h and bits/libc-lockP.h to plain libc-lockP.h to follow that convention. Note that I don't know where libc-lockP.h comes from for Hurd (the Hurd libc-lock.h includes libc-lockP.h, but the only libc-lockP.h in the glibc source tree is for NPTL) - some unmerged patch? - but I updated the #include in the Hurd libc-lock.h anyway. Tested for x86_64 (testsuite, and that installed stripped shared libraries are unchanged by the patch). [BZ #14912] * bits/libc-lock.h: Move to ... * sysdeps/generic/libc-lock.h: ...here. (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H. * sysdeps/mach/hurd/bits/libc-lock.h: Move to ... * sysdeps/mach/hurd/libc-lock.h: ...here. (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H. [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>. * sysdeps/mach/bits/libc-lock.h: Move to ... * sysdeps/mach/libc-lock.h: ...here. (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H. * sysdeps/nptl/bits/libc-lock.h: Move to ... * sysdeps/nptl/libc-lock.h: ...here. (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H. * sysdeps/nptl/bits/libc-lockP.h: Move to ... * sysdeps/nptl/libc-lockP.h: ...here. (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H. * crypt/crypt_util.c: Include <libc-lock.h> instead of <bits/libc-lock.h>. * dirent/scandir-tail.c: Likewise. * dlfcn/dlerror.c: Likewise. * elf/dl-close.c: Likewise. * elf/dl-iteratephdr.c: Likewise. * elf/dl-lookup.c: Likewise. * elf/dl-open.c: Likewise. * elf/dl-support.c: Likewise. * elf/dl-writev.h: Likewise. * elf/rtld.c: Likewise. * grp/fgetgrent.c: Likewise. * gshadow/fgetsgent.c: Likewise. * gshadow/sgetsgent.c: Likewise. * iconv/gconv_conf.c: Likewise. * iconv/gconv_db.c: Likewise. * iconv/gconv_dl.c: Likewise. * iconv/gconv_int.h: Likewise. * iconv/gconv_trans.c: Likewise. * include/link.h: Likewise. * inet/getnameinfo.c: Likewise. * inet/getnetgrent.c: Likewise. * inet/getnetgrent_r.c: Likewise. * intl/bindtextdom.c: Likewise. * intl/dcigettext.c: Likewise. * intl/finddomain.c: Likewise. * intl/gettextP.h: Likewise. * intl/loadmsgcat.c: Likewise. * intl/localealias.c: Likewise. * intl/textdomain.c: Likewise. * libidn/idn-stub.c: Likewise. * libio/libioP.h: Likewise. * locale/duplocale.c: Likewise. * locale/freelocale.c: Likewise. * locale/newlocale.c: Likewise. * locale/setlocale.c: Likewise. * login/getutent_r.c: Likewise. * login/getutid_r.c: Likewise. * login/getutline_r.c: Likewise. * login/utmp-private.h: Likewise. * login/utmpname.c: Likewise. * malloc/mtrace.c: Likewise. * misc/efgcvt.c: Likewise. * misc/error.c: Likewise. * misc/fstab.c: Likewise. * misc/getpass.c: Likewise. * misc/mntent.c: Likewise. * misc/syslog.c: Likewise. * nis/nis_call.c: Likewise. * nis/nis_callback.c: Likewise. * nis/nss-default.c: Likewise. * nis/nss_compat/compat-grp.c: Likewise. * nis/nss_compat/compat-initgroups.c: Likewise. * nis/nss_compat/compat-pwd.c: Likewise. * nis/nss_compat/compat-spwd.c: Likewise. * nis/nss_nis/nis-alias.c: Likewise. * nis/nss_nis/nis-ethers.c: Likewise. * nis/nss_nis/nis-grp.c: Likewise. * nis/nss_nis/nis-hosts.c: Likewise. * nis/nss_nis/nis-network.c: Likewise. * nis/nss_nis/nis-proto.c: Likewise. * nis/nss_nis/nis-pwd.c: Likewise. * nis/nss_nis/nis-rpc.c: Likewise. * nis/nss_nis/nis-service.c: Likewise. * nis/nss_nis/nis-spwd.c: Likewise. * nis/nss_nisplus/nisplus-alias.c: Likewise. * nis/nss_nisplus/nisplus-ethers.c: Likewise. * nis/nss_nisplus/nisplus-grp.c: Likewise. * nis/nss_nisplus/nisplus-hosts.c: Likewise. * nis/nss_nisplus/nisplus-initgroups.c: Likewise. * nis/nss_nisplus/nisplus-network.c: Likewise. * nis/nss_nisplus/nisplus-proto.c: Likewise. * nis/nss_nisplus/nisplus-pwd.c: Likewise. * nis/nss_nisplus/nisplus-rpc.c: Likewise. * nis/nss_nisplus/nisplus-service.c: Likewise. * nis/nss_nisplus/nisplus-spwd.c: Likewise. * nis/ypclnt.c: Likewise. * nptl/libc_pthread_init.c: Likewise. * nss/getXXbyYY.c: Likewise. * nss/getXXent.c: Likewise. * nss/getXXent_r.c: Likewise. * nss/nss_db/db-XXX.c: Likewise. * nss/nss_db/db-netgrp.c: Likewise. * nss/nss_db/nss_db.h: Likewise. * nss/nss_files/files-XXX.c: Likewise. * nss/nss_files/files-alias.c: Likewise. * nss/nsswitch.c: Likewise. * posix/regex_internal.h: Likewise. * posix/wordexp.c: Likewise. * pwd/fgetpwent.c: Likewise. * resolv/res_hconf.c: Likewise. * resolv/res_libc.c: Likewise. * shadow/fgetspent.c: Likewise. * shadow/lckpwdf.c: Likewise. * shadow/sgetspent.c: Likewise. * socket/opensock.c: Likewise. * stdio-common/reg-modifier.c: Likewise. * stdio-common/reg-printf.c: Likewise. * stdio-common/reg-type.c: Likewise. * stdio-common/vfprintf.c: Likewise. * stdio-common/vfscanf.c: Likewise. * stdlib/abort.c: Likewise. * stdlib/cxa_atexit.c: Likewise. * stdlib/fmtmsg.c: Likewise. * stdlib/random.c: Likewise. * stdlib/setenv.c: Likewise. * string/strsignal.c: Likewise. * sunrpc/auth_none.c: Likewise. * sunrpc/bindrsvprt.c: Likewise. * sunrpc/create_xid.c: Likewise. * sunrpc/key_call.c: Likewise. * sunrpc/rpc_thread.c: Likewise. * sysdeps/arm/backtrace.c: Likewise. * sysdeps/generic/ldsodefs.h: Likewise. * sysdeps/generic/stdio-lock.h: Likewise. * sysdeps/generic/unwind-dw2-fde.c: Likewise. * sysdeps/i386/backtrace.c: Likewise. * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise. * sysdeps/m68k/backtrace.c: Likewise. * sysdeps/mach/hurd/cthreads.c: Likewise. * sysdeps/mach/hurd/dirstream.h: Likewise. * sysdeps/mach/hurd/malloc-machine.h: Likewise. * sysdeps/nptl/malloc-machine.h: Likewise. * sysdeps/nptl/stdio-lock.h: Likewise. * sysdeps/posix/dirstream.h: Likewise. * sysdeps/posix/getaddrinfo.c: Likewise. * sysdeps/posix/system.c: Likewise. * sysdeps/pthread/aio_suspend.c: Likewise. * sysdeps/s390/s390-32/backtrace.c: Likewise. * sysdeps/s390/s390-64/backtrace.c: Likewise. * sysdeps/unix/sysv/linux/check_pf.c: Likewise. * sysdeps/unix/sysv/linux/if_index.c: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise. * sysdeps/unix/sysv/linux/shm-directory.c: Likewise. * sysdeps/unix/sysv/linux/system.c: Likewise. * sysdeps/x86_64/backtrace.c: Likewise. * time/alt_digit.c: Likewise. * time/era.c: Likewise. * time/tzset.c: Likewise. * wcsmbs/wcsmbsload.c: Likewise. * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h> instead of <bits/libc-lock.h> in comment. |
||
---|---|---|
.. | ||
bits | ||
rxspencer | ||
sys | ||
_exit.c | ||
alarm.c | ||
annexc.c | ||
BOOST.tests | ||
bsd-getpgrp.c | ||
bug-ga1.c | ||
bug-ga2.c | ||
bug-getopt1.c | ||
bug-getopt2.c | ||
bug-getopt3.c | ||
bug-getopt4.c | ||
bug-getopt5.c | ||
bug-glob1.c | ||
bug-glob2.c | ||
bug-glob3.c | ||
bug-regex1.c | ||
bug-regex2.c | ||
bug-regex3.c | ||
bug-regex4.c | ||
bug-regex5.c | ||
bug-regex6.c | ||
bug-regex7.c | ||
bug-regex8.c | ||
bug-regex9.c | ||
bug-regex10.c | ||
bug-regex11.c | ||
bug-regex12.c | ||
bug-regex13.c | ||
bug-regex14.c | ||
bug-regex15.c | ||
bug-regex16.c | ||
bug-regex17.c | ||
bug-regex18.c | ||
bug-regex19.c | ||
bug-regex20.c | ||
bug-regex21.c | ||
bug-regex22.c | ||
bug-regex23.c | ||
bug-regex24.c | ||
bug-regex25.c | ||
bug-regex26.c | ||
bug-regex27.c | ||
bug-regex28.c | ||
bug-regex29.c | ||
bug-regex30.c | ||
bug-regex31.c | ||
bug-regex31.input | ||
bug-regex32.c | ||
bug-regex33.c | ||
bug-regex34.c | ||
bug-regex35.c | ||
bug-regex36.c | ||
confstr.c | ||
cpio.h | ||
Depend | ||
environ.c | ||
execl.c | ||
execle.c | ||
execlp.c | ||
execv.c | ||
execve.c | ||
execvp.c | ||
execvpe.c | ||
fexecve.c | ||
fnmatch_loop.c | ||
fnmatch.c | ||
fnmatch.h | ||
fork.c | ||
fpathconf.c | ||
gai_strerror.c | ||
gai.conf | ||
get_child_max.c | ||
getaddrinfo.c | ||
getconf-speclist.c | ||
getconf.c | ||
getegid.c | ||
geteuid.c | ||
getgid.c | ||
getgroups.c | ||
getopt1.c | ||
getopt_init.c | ||
getopt_int.h | ||
getopt.c | ||
getopt.h | ||
getpgid.c | ||
getpgrp.c | ||
getpid.c | ||
getppid.c | ||
getresgid.c | ||
getresuid.c | ||
getsid.c | ||
getuid.c | ||
glob64.c | ||
glob.c | ||
glob.h | ||
globtest.c | ||
globtest.sh | ||
group_member.c | ||
init-posix.c | ||
Makefile | ||
nanosleep.c | ||
pathconf.c | ||
pause.c | ||
PCRE.tests | ||
posix_madvise.c | ||
posix-conf-vars.h | ||
posix-conf-vars.list | ||
posix-envs.def | ||
pread64.c | ||
pread.c | ||
ptestcases.h | ||
PTESTS | ||
PTESTS2C.sed | ||
pwrite64.c | ||
pwrite.c | ||
re_comp.h | ||
regcomp.c | ||
regex_internal.c | ||
regex_internal.h | ||
regex.c | ||
regex.h | ||
regexbug1.c | ||
regexec.c | ||
runptests.c | ||
runtests.c | ||
sched_cpualloc.c | ||
sched_cpucount.c | ||
sched_cpufree.c | ||
sched_getaffinity.c | ||
sched_getp.c | ||
sched_gets.c | ||
sched_primax.c | ||
sched_primin.c | ||
sched_rr_gi.c | ||
sched_setaffinity.c | ||
sched_setp.c | ||
sched_sets.c | ||
sched_yield.c | ||
sched.h | ||
setgid.c | ||
setpgid.c | ||
setpgrp.c | ||
setresgid.c | ||
setresuid.c | ||
setsid.c | ||
setuid.c | ||
sleep.c | ||
spawn_faction_addclose.c | ||
spawn_faction_adddup2.c | ||
spawn_faction_addopen.c | ||
spawn_faction_destroy.c | ||
spawn_faction_init.c | ||
spawn_int.h | ||
spawn.c | ||
spawn.h | ||
spawnattr_destroy.c | ||
spawnattr_getdefault.c | ||
spawnattr_getflags.c | ||
spawnattr_getpgroup.c | ||
spawnattr_getschedparam.c | ||
spawnattr_getschedpolicy.c | ||
spawnattr_getsigmask.c | ||
spawnattr_init.c | ||
spawnattr_setdefault.c | ||
spawnattr_setflags.c | ||
spawnattr_setpgroup.c | ||
spawnattr_setschedparam.c | ||
spawnattr_setschedpolicy.c | ||
spawnattr_setsigmask.c | ||
spawni.c | ||
spawnp.c | ||
sysconf.c | ||
tar.h | ||
test-vfork.c | ||
testcases.h | ||
testfnm.c | ||
TESTS | ||
TESTS2C.sed | ||
times.c | ||
transbug.c | ||
tst-boost.c | ||
tst-chmod.c | ||
tst-cpucount.c | ||
tst-cpuset.c | ||
tst-dir.c | ||
tst-exec-static.c | ||
tst-exec.c | ||
tst-execl1.c | ||
tst-execl2.c | ||
tst-execle1.c | ||
tst-execle2.c | ||
tst-execlp1.c | ||
tst-execlp2.c | ||
tst-execv1.c | ||
tst-execv2.c | ||
tst-execve1.c | ||
tst-execve2.c | ||
tst-execvp1.c | ||
tst-execvp2.c | ||
tst-execvp3.c | ||
tst-execvp4.c | ||
tst-fnmatch2.c | ||
tst-fnmatch3.c | ||
tst-fnmatch.c | ||
tst-fnmatch.input | ||
tst-fork.c | ||
tst-getaddrinfo2.c | ||
tst-getaddrinfo3.c | ||
tst-getaddrinfo4.c | ||
tst-getaddrinfo5.c | ||
tst-getaddrinfo.c | ||
tst-getconf.sh | ||
tst-getopt_long1.c | ||
tst-gnuglob.c | ||
tst-mmap-offset.c | ||
tst-mmap.c | ||
tst-nanosleep.c | ||
tst-nice.c | ||
tst-pathconf.c | ||
tst-pcre.c | ||
tst-preadwrite64.c | ||
tst-preadwrite.c | ||
tst-regex2.c | ||
tst-regex.c | ||
tst-regexloc.c | ||
tst-rfc3484-2.c | ||
tst-rfc3484-3.c | ||
tst-rfc3484.c | ||
tst-rxspencer-no-utf8.c | ||
tst-rxspencer.c | ||
tst-spawn-static.c | ||
tst-spawn.c | ||
tst-sysconf.c | ||
tst-truncate64.c | ||
tst-truncate.c | ||
tst-vfork1.c | ||
tst-vfork2.c | ||
tst-vfork3.c | ||
tst-waitid.c | ||
tstgetopt.c | ||
uname-values.h | ||
uname.c | ||
unistd.h | ||
Versions | ||
vfork.c | ||
wait3.c | ||
wait4.c | ||
wait.c | ||
wait.h | ||
waitid.c | ||
waitpid.c | ||
wordexp-test.c | ||
wordexp-tst.sh | ||
wordexp.c | ||
wordexp.h |