]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Remove __libc_pselect alias.
authorJoseph Myers <joseph@codesourcery.com>
Fri, 31 Oct 2014 21:22:35 +0000 (21:22 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 31 Oct 2014 21:22:35 +0000 (21:22 +0000)
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.

ChangeLog
misc/pselect.c
sysdeps/unix/sysv/linux/pselect.c

index 6a63313151e0a592c5b85c577ba7947c2864679d..a050d89c80df704a4412d18d6fa2252e11e61db8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
 
+       * 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.
index 478dcce330e68a96b73353f94ca0379cb5a3325e..ba757dfffab00ff8d0224c6eddfb64bd053c57c1 100644 (file)
@@ -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
index b4e77c16aa7434b61a972648376fa7926321f74f..5c745c98d85c525872b42f17b35fe5c9151e788b 100644 (file)
@@ -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