This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Remove __libc_pselect alias
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: <libc-alpha at sourceware dot org>
- Date: Fri, 31 Oct 2014 19:13:56 +0000
- Subject: Remove __libc_pselect alias
- Authentication-results: sourceware.org; auth=none
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.
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
--
Joseph S. Myers
joseph@codesourcery.com