aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2013-11-11 19:48:04 -0800
committerH. Peter Anvin <hpa@zytor.com>2013-11-11 19:48:04 -0800
commit3892f676f83d4da24f6417846645272d367a97a7 (patch)
tree93e2a9fa2ece3082d13a7e6cbeb88e54c68f2158
parent3de648dd97d9d6086598aa80206a3007a13ed61b (diff)
downloadklibc-3892f676f83d4da24f6417846645272d367a97a7.tar.gz
[klibc] poll, select: fix style problems
Fix whitespace style problems in poll.c and select.c. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--usr/klibc/poll.c2
-rw-r--r--usr/klibc/select.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/usr/klibc/poll.c b/usr/klibc/poll.c
index 69da693512524e..f539b99e9c583e 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 e416794dc58014..7af28feeb8ae5e 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;