diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-08 19:33:35 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-08 19:33:35 +0000 |
commit | f4256c083607375714dc4bde0e9c09d18265d90a (patch) | |
tree | a21680fd2b94d2179f9333b9d78bfd2728014883 /libc/sysdeps/linux/common/select.c | |
parent | e1caf0011e32fc3cb33f97d711cbebe0d5fb79bd (diff) |
Implement more hidden
Diffstat (limited to 'libc/sysdeps/linux/common/select.c')
-rw-r--r-- | libc/sysdeps/linux/common/select.c | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/libc/sysdeps/linux/common/select.c b/libc/sysdeps/linux/common/select.c index 2c35c32fc..36f88229a 100644 --- a/libc/sysdeps/linux/common/select.c +++ b/libc/sysdeps/linux/common/select.c @@ -11,19 +11,10 @@ #include <unistd.h> #ifdef __NR__newselect - -extern int _newselect(int n, fd_set * readfds, fd_set * writefds, - fd_set * exceptfds, struct timeval *timeout); -_syscall5(int, _newselect, int, n, fd_set *, readfds, fd_set *, writefds, - fd_set *, exceptfds, struct timeval *, timeout); -weak_alias(_newselect, select); - +#define __NR___select __NR__newselect #else - -//Used as a fallback if _newselect isn't available... -extern int select(int n, fd_set * readfds, fd_set * writefds, - fd_set * exceptfds, struct timeval *timeout); -_syscall5(int, select, int, n, fd_set *, readfds, fd_set *, writefds, - fd_set *, exceptfds, struct timeval *, timeout); - +#define __NR___select __NR_select #endif +attribute_hidden _syscall5(int, __select, int, n, fd_set *, readfds, fd_set *, writefds, + fd_set *, exceptfds, struct timeval *, timeout); +strong_alias(__select,select) |