summaryrefslogtreecommitdiff
path: root/ext/IO
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-11-28 22:30:38 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-11-28 22:30:38 +0000
commit35ef477370235abeea305d760b3f316d7667ba3c (patch)
tree7e5b17ba5eb8815c58c13c43f7cf4b07bce789a7 /ext/IO
parent4c8f623d27bbea0cd0b08721f1c2f344dcb98a5b (diff)
downloadperl-35ef477370235abeea305d760b3f316d7667ba3c.tar.gz
various tweaks; result passes all tests for normal build on Solaris;
fails two pat.t tests under USE_THREADS; io_poll.t test#3 fails on win32 due to lack of select() that works on non-socket fds p4raw-id: //depot/perl@2377
Diffstat (limited to 'ext/IO')
-rw-r--r--ext/IO/poll.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/IO/poll.c b/ext/IO/poll.c
index 50a5151475..5d806b60f3 100644
--- a/ext/IO/poll.c
+++ b/ext/IO/poll.c
@@ -35,10 +35,7 @@
# define POLL_EVENTS_MASK (POLL_CAN_READ | POLL_CAN_WRITE | POLL_HAS_EXCP)
int
-poll(fds, nfds, timeout)
-struct pollfd *fds;
-unsigned long nfds;
-int timeout;
+poll(struct pollfd *fds, unsigned long nfds, int timeout)
{
int i,err;
fd_set rfd,wfd,efd,ifd;