diff options
author | Joseph Myers <joseph@codesourcery.com> | 2014-10-09 01:11:14 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2014-10-09 01:11:14 +0000 |
commit | 5deeb190146967ac05828b1fa6821182668356aa (patch) | |
tree | b93a2f347106900abaf61dd5336da05829d73db9 /sysdeps | |
parent | 454ac701e3639bfcb8919706319a685341536eda (diff) | |
download | glibc-5deeb190146967ac05828b1fa6821182668356aa.tar.gz glibc-5deeb190146967ac05828b1fa6821182668356aa.tar.xz glibc-5deeb190146967ac05828b1fa6821182668356aa.zip |
Remove stray *_internal aliases (bug 14132).
This patch removes some stray (unused) *_internal aliases, and function prototypes with no corresponding definitions at all, at least some of which were missed in previous INTDEF / INTUSE removal. Not removed in this patch: __canonicalize_directory_name_internal, noticed in the course of preparing this patch, isn't an alias, but an actual function in sysdeps/mach/hurd/getcwd.c - apparently unused, however. Tested for x86_64 that installed stripped shared libraries are unchanged by this patch. [BZ #14132] * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove declaration. [!_ISOMAC] (__iswdigit_l_internal): Likewise. [!_ISOMAC] (__iswspace_l_internal): Likewise. [!_ISOMAC] (__iswxdigit_l_internal): Likewise. [!_ISOMAC] (__iswctype_internal): Likewise. * stdio-common/siglist.c (_sys_siglist_internal): Remove alias. * sysdeps/unix/syscalls.list (chown): Remove __chown_internal alias. (fcntl): Remove __fcntl_internal alias. * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove __connect_internal alias. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect): Likewise.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/syscalls.list | 4 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/hppa/syscalls.list | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/unix/syscalls.list b/sysdeps/unix/syscalls.list index 46205825ca..b3358bd933 100644 --- a/sysdeps/unix/syscalls.list +++ b/sysdeps/unix/syscalls.list @@ -7,7 +7,7 @@ adjtime - adjtime i:pp __adjtime adjtime bind - bind i:ipi __bind bind chdir - chdir i:s __chdir chdir chmod - chmod i:si __chmod chmod -chown - chown i:sii __chown __chown_internal chown +chown - chown i:sii __chown chown chroot - chroot i:s chroot close - close Ci:i __libc_close __close close connect - connect Ci:ipi __libc_connect __connect connect @@ -17,7 +17,7 @@ dup3 - dup3 i:iii __dup3 dup3 fchdir - fchdir i:i __fchdir fchdir fchmod - fchmod i:ii __fchmod fchmod fchown - fchown i:iii __fchown fchown -fcntl - fcntl Ci:iiF __libc_fcntl __fcntl __fcntl_internal fcntl +fcntl - fcntl Ci:iiF __libc_fcntl __fcntl fcntl fstatfs - fstatfs i:ip __fstatfs fstatfs fsync - fsync Ci:i __libc_fsync fsync ftruncate - ftruncate i:ii __ftruncate ftruncate diff --git a/sysdeps/unix/sysv/linux/hppa/syscalls.list b/sysdeps/unix/sysv/linux/hppa/syscalls.list index ae462edfe7..2cb8d027c3 100644 --- a/sysdeps/unix/sysv/linux/hppa/syscalls.list +++ b/sysdeps/unix/sysv/linux/hppa/syscalls.list @@ -17,7 +17,7 @@ semctl - semctl i:iiii __semctl semctl # proper socket implementations: accept - accept Ci:iBN __libc_accept __accept accept bind - bind i:ipi __bind bind -connect - connect Ci:ipi __libc_connect __connect_internal __connect connect +connect - connect Ci:ipi __libc_connect __connect connect getpeername - getpeername i:ipp __getpeername getpeername getsockname - getsockname i:ipp __getsockname getsockname getsockopt - getsockopt i:iiiBN __getsockopt getsockopt diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list b/sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list index ca2953c6b9..3d1c1daac9 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list @@ -4,7 +4,7 @@ select - select C:5 __select select accept - accept C:3 __libc_accept __accept accept bind - bind 3 __bind bind -connect - connect C:3 __libc_connect __connect_internal __connect connect +connect - connect C:3 __libc_connect __connect connect getpeername - getpeername 3 __getpeername getpeername getsockname - getsockname 3 __getsockname getsockname getsockopt - getsockopt 5 __getsockopt getsockopt |