projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55898ee
)
poll: Assume ANSI C.
author
Bruno Haible
<bruno@clisp.org>
Tue, 28 Sep 2010 23:56:23 +0000
(
01:56
+0200)
committer
Bruno 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
patch
|
blob
|
history
lib/poll.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
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.
diff --git
a/lib/poll.c
b/lib/poll.c
index a001c199a83be3f6c706282fddcf63bcb3dccd6d..ea655806c5de1f22f7f1ee40ed588821a57a38e2 100644
(file)
--- a/
lib/poll.c
+++ b/
lib/poll.c
@@
-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;