From: Joseph Myers Date: Fri, 31 Oct 2014 21:22:35 +0000 (+0000) Subject: Remove __libc_pselect alias. X-Git-Tag: glibc-2.21~445 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f62ff286838e572ee124ca2d2dc5ccf619345015;p=thirdparty%2Fglibc.git Remove __libc_pselect alias. Continuing the removal of unused __libc_* function names, this patch removes the __libc_pselect alias. Tested for x86_64 that installed stripped shared libraries are unchanged by this patch. * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias. * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6] (__libc_pselect): Likewise. --- diff --git a/ChangeLog b/ChangeLog index 6a63313151e..a050d89c80d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2014-10-31 Joseph Myers + * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias. + * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6] + (__libc_pselect): Likewise. + [BZ #14138] * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise. diff --git a/misc/pselect.c b/misc/pselect.c index 478dcce330e..ba757dfffab 100644 --- a/misc/pselect.c +++ b/misc/pselect.c @@ -73,7 +73,6 @@ __pselect (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, } #ifndef __pselect weak_alias (__pselect, pselect) -strong_alias (__pselect, __libc_pselect) /* __select handles cancellation. */ LIBC_CANCEL_HANDLED (); #endif diff --git a/sysdeps/unix/sysv/linux/pselect.c b/sysdeps/unix/sysv/linux/pselect.c index b4e77c16aa7..5c745c98d85 100644 --- a/sysdeps/unix/sysv/linux/pselect.c +++ b/sysdeps/unix/sysv/linux/pselect.c @@ -89,7 +89,6 @@ __pselect (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, return result; } weak_alias (__pselect, pselect) -strong_alias (__pselect, __libc_pselect) # ifndef __ASSUME_PSELECT # define __pselect static __generic_pselect