From 5deeb190146967ac05828b1fa6821182668356aa Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 9 Oct 2014 01:11:14 +0000 Subject: 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. --- include/wctype.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'include') diff --git a/include/wctype.h b/include/wctype.h index a2ee9ff880..676c04358b 100644 --- a/include/wctype.h +++ b/include/wctype.h @@ -40,17 +40,8 @@ libc_hidden_proto (towupper) #ifndef _ISOMAC /* Internal interfaces. */ -extern int __iswalpha_l_internal (wint_t __wc, __locale_t __locale) - attribute_hidden; -extern int __iswdigit_l_internal (wint_t __wc, __locale_t __locale) - attribute_hidden; -extern int __iswspace_l_internal (wint_t __wc, __locale_t __locale) - attribute_hidden; -extern int __iswxdigit_l_internal (wint_t __wc, __locale_t __locale) - attribute_hidden; extern int __iswspace (wint_t __wc); extern int __iswctype (wint_t __wc, wctype_t __desc); -extern int __iswctype_internal (wint_t __wc, wctype_t __desc) attribute_hidden; extern wctype_t __wctype (const char *__property); extern wctrans_t __wctrans (const char *__property); extern wint_t __towctrans (wint_t __wc, wctrans_t __desc); -- cgit v1.2.1