[git commit future] poll.c: do not inline syscall
Peter S. Mazinger
ps.m at gmx.net
Thu Apr 14 07:59:26 UTC 2011
commit: http://git.uclibc.org/uClibc/commit/?id=78dbb0a651fca64a039ac0dc2edec94049cae405
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/future
While there, remove libc_hidden_protos
Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
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 3895e0d..92c90da 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
--
1.7.3.4
More information about the uClibc-cvs
mailing list