[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
poll: use ANSI C
From: |
Bruno Haible |
Subject: |
poll: use ANSI C |
Date: |
Wed, 29 Sep 2010 01:56:44 +0200 |
User-agent: |
KMail/1.9.9 |
Another modernization of the 'poll' module is to use ANSI C instead of K&R C.
2010-09-28 Bruno Haible <address@hidden>
poll: Assume ANSI C.
* lib/poll.c (poll): Use an ANSI C declaration.
--- lib/poll.c.orig Wed Sep 29 01:55:18 2010
+++ lib/poll.c Wed Sep 29 01:52:45 2010
@@ -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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- poll: use ANSI C,
Bruno Haible <=