Remove __libc_pselect alias
diff mbox

Message ID Pine.LNX.4.64.1410311913390.23172@digraph.polyomino.org.uk
State New
Headers show

Commit Message

Joseph Myers Oct. 31, 2014, 7:13 p.m. UTC
Continuing the removal of unused __libc_* function names, this patch
removes the __libc_pselect alias.

Tested for x86_64 that the disassembly of installed shared libraries
is unchanged by this patch.

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.

Comments

Mike Frysinger Oct. 31, 2014, 9:17 p.m. UTC | #1
On 31 Oct 2014 19:13, Joseph S. Myers wrote:
> Continuing the removal of unused __libc_* function names, this patch
> removes the __libc_pselect alias.
> 
> Tested for x86_64 that the disassembly of installed shared libraries
> is unchanged by this patch.

lgtm
-mike

Patch
diff mbox

diff --git a/misc/pselect.c b/misc/pselect.c
index 478dcce..ba757df 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 b4e77c1..5c745c9 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