From: Bruno Haible Date: Tue, 28 Sep 2010 23:56:23 +0000 (+0200) Subject: poll: Assume ANSI C. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89c936487278c4567c724b3ec826873f46f72c5a;p=pspp poll: Assume ANSI C. * lib/poll.c (poll): Use an ANSI C declaration. --- diff --git a/ChangeLog b/ChangeLog index 8eba951098..d1553caf63 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-09-28 Bruno Haible + + poll: Assume ANSI C. + * lib/poll.c (poll): Use an ANSI C declaration. + 2010-09-28 Bruno Haible poll-h: Create poll.h on all platforms. diff --git a/lib/poll.c b/lib/poll.c index a001c199a8..ea655806c5 100644 --- 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;