klibc-bot for H. Peter Anvin
2013-Nov-12 03:51 UTC
[klibc] [klibc:master] poll, select: fix style problems
Commit-ID: 3892f676f83d4da24f6417846645272d367a97a7 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=3892f676f83d4da24f6417846645272d367a97a7 Author: H. Peter Anvin <hpa at zytor.com> AuthorDate: Mon, 11 Nov 2013 19:48:04 -0800 Committer: H. Peter Anvin <hpa at zytor.com> CommitDate: Mon, 11 Nov 2013 19:48:04 -0800 [klibc] poll, select: fix style problems Fix whitespace style problems in poll.c and select.c. Signed-off-by: H. Peter Anvin <hpa at zytor.com> --- usr/klibc/poll.c | 2 +- usr/klibc/select.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/usr/klibc/poll.c b/usr/klibc/poll.c index 69da693..f539b99 100644 --- a/usr/klibc/poll.c +++ b/usr/klibc/poll.c @@ -4,7 +4,7 @@ #ifndef __NR_poll -int poll (struct pollfd *fds, nfds_t nfds, long timeout) +int poll(struct pollfd *fds, nfds_t nfds, long timeout) { struct timespec timeout_ts; struct timespec *timeout_ts_p = NULL; diff --git a/usr/klibc/select.c b/usr/klibc/select.c index e416794..7af28fe 100644 --- a/usr/klibc/select.c +++ b/usr/klibc/select.c @@ -8,10 +8,10 @@ struct __pselect6; __extern int __pselect6(int, fd_set *, fd_set *, fd_set *, - const struct timespec *, const struct __pselect6 *); + const struct timespec *, const struct __pselect6 *); int select(int nfds, fd_set *readfds, fd_set *writefds, - fd_set *exceptfds, struct timeval *timeout) + fd_set *exceptfds, struct timeval *timeout) { int result; struct timespec ts;
Possibly Parallel Threads
- [PATCH 2/3] syscalls: Add syscalls needed by arm64
- [klibc:master] syscalls: Add syscalls needed by arm64
- [klibc:time64] select: Fix handling of NULL timeout when wrapping pselect()
- [PATCH] mini-os: implement poll(2)
- [klibc:time64] select: Make all select calls wrappers for pselect6()