[git commit] ppoll: switch to INLINE_SYSCALL() to match glibc
Mike Frysinger
vapier at gentoo.org
Mon Jul 20 11:16:39 UTC 2009
commit: http://git.uclibc.org/uClibc/commit/?id=1b6ff11554c7a1fea728167cc814db5440da289c
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
libc/sysdeps/linux/common/ppoll.c | 13 ++-----------
1 files changed, 2 insertions(+), 11 deletions(-)
diff --git a/libc/sysdeps/linux/common/ppoll.c b/libc/sysdeps/linux/common/ppoll.c
index d550ae8..1d7a04e 100644
--- a/libc/sysdeps/linux/common/ppoll.c
+++ b/libc/sysdeps/linux/common/ppoll.c
@@ -25,18 +25,9 @@
/* libc_hidden_proto(ppoll) */
-# define __NR___libc_ppoll __NR_ppoll
-static __always_inline
-_syscall5(int, __libc_ppoll,
- struct pollfd *, fds,
- nfds_t, nfds,
- const struct timespec *, timeout,
- const __sigset_t *, sigmask,
- size_t, sigsetsize)
-
int
ppoll(struct pollfd *fds, nfds_t nfds, const struct timespec *timeout,
- const __sigset_t *sigmask)
+ const sigset_t *sigmask)
{
/* The Linux kernel can in some situations update the timeout value.
We do not want that so use a local variable. */
@@ -46,7 +37,7 @@ ppoll(struct pollfd *fds, nfds_t nfds, const struct timespec *timeout,
timeout = &tval;
}
- return __libc_ppoll(fds, nfds, timeout, sigmask, _NSIG / 8);
+ return INLINE_SYSCALL(ppoll, 5, fds, nfds, timeout, sigmask, _NSIG / 8);
}
libc_hidden_def(ppoll)
--
1.6.3.3
More information about the uClibc-cvs
mailing list