changeset 13741:b079c369732b

poll: Assume ANSI C. * lib/poll.c (poll): Use an ANSI C declaration.
author Bruno Haible <bruno@clisp.org>
date Wed, 29 Sep 2010 01:56:23 +0200
parents 39e9b3545aed
children 886a8812ecd0
files ChangeLog lib/poll.c
diffstat 2 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- a/lib/poll.c
+++ b/lib/poll.c
@@ -315,10 +315,7 @@
 #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;