summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/svc_run.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/rpc/svc_run.c')
-rw-r--r--libc/inet/rpc/svc_run.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/libc/inet/rpc/svc_run.c b/libc/inet/rpc/svc_run.c
index c1c3e0478..092fcb9a8 100644
--- a/libc/inet/rpc/svc_run.c
+++ b/libc/inet/rpc/svc_run.c
@@ -39,14 +39,13 @@ static char sccsid[] = "@(#)svc_run.c 1.1 87/10/13 Copyr 1984 Sun Micro";
#include <rpc/rpc.h>
#include <sys/errno.h>
-void
-svc_run()
+void svc_run()
{
#ifdef FD_SETSIZE
fd_set readfds;
#else
- int readfds;
-#endif /* def FD_SETSIZE */
+ int readfds;
+#endif /* def FD_SETSIZE */
extern int errno;
for (;;) {
@@ -54,9 +53,9 @@ svc_run()
readfds = svc_fdset;
#else
readfds = svc_fds;
-#endif /* def FD_SETSIZE */
- switch (select(_rpc_dtablesize(), &readfds, (int *)0, (int *)0,
- (struct timeval *)0)) {
+#endif /* def FD_SETSIZE */
+ switch (select(_rpc_dtablesize(), &readfds, (int *) 0, (int *) 0,
+ (struct timeval *) 0)) {
case -1:
if (errno == EINTR) {
continue;