diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-04-16 01:45:33 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:38 +0200 |
commit | 6b3453a65149c86e7439c7ee17abb4c8018da39b (patch) | |
tree | f3dfcd57c30673a0591c63f9ae75d9194eab4ddc /libc/sysdeps | |
parent | 06419c7f9c4600bfcdda7ac631870d5442908d0f (diff) |
poll.c: do not inline syscall
While there, remove libc_hidden_protos
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps')
-rw-r--r-- | libc/sysdeps/linux/common/poll.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/libc/sysdeps/linux/common/poll.c b/libc/sysdeps/linux/common/poll.c index 3895e0da7..92c90da66 100644 --- a/libc/sysdeps/linux/common/poll.c +++ b/libc/sysdeps/linux/common/poll.c @@ -27,13 +27,11 @@ #define SINGLE_THREAD_P 1 #endif -libc_hidden_proto(poll) - #if defined __ASSUME_POLL_SYSCALL && defined __NR_poll #define __NR___syscall_poll __NR_poll -static inline _syscall3(int, __syscall_poll, struct pollfd *, fds, - unsigned long int, nfds, int, timeout); +static _syscall3(int, __syscall_poll, struct pollfd *, fds, + unsigned long int, nfds, int, timeout); int poll(struct pollfd *fds, nfds_t nfds, int timeout) { @@ -57,9 +55,6 @@ int poll(struct pollfd *fds, nfds_t nfds, int timeout) #include <sys/param.h> #include <unistd.h> -libc_hidden_proto(getdtablesize) -libc_hidden_proto(select) - /* uClinux 2.0 doesn't have poll, emulate it using select */ /* Poll the file descriptors described by the NFDS structures starting at |