poll: Assume ANSI C.
authorBruno Haible <bruno@clisp.org>
Tue, 28 Sep 2010 23:56:23 +0000 (01:56 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 28 Sep 2010 23:56:23 +0000 (01:56 +0200)
* lib/poll.c (poll): Use an ANSI C declaration.

ChangeLog
lib/poll.c

index 8eba95109871d5791437885d498bdea42526da63..d1553caf638a9873109f43a98dace115eccbbaf0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-09-28  Bruno Haible  <bruno@clisp.org>
+
+       poll: Assume ANSI C.
+       * lib/poll.c (poll): Use an ANSI C declaration.
+
 2010-09-28  Bruno Haible  <bruno@clisp.org>
 
        poll-h: Create poll.h on all platforms.
index a001c199a83be3f6c706282fddcf63bcb3dccd6d..ea655806c5de1f22f7f1ee40ed588821a57a38e2 100644 (file)
@@ -315,10 +315,7 @@ compute_revents (int fd, int sought, fd_set *rfds, fd_set *wfds, fd_set *efds)
 #endif /* !MinGW */
 
 int
-poll (pfd, nfd, timeout)
-     struct pollfd *pfd;
-     nfds_t nfd;
-     int timeout;
+poll (struct pollfd *pfd, nfds_t nfd, int timeout)
 {
 #ifndef WIN32_NATIVE
   fd_set rfds, wfds, efds;