X-Git-Url: https://git.distorted.org.uk/~mdw/adns/blobdiff_plain/bef232aebeabbef525faa7d7f5b08cf7a1427f95..c227e3bcc4a3d9e4a076e19976f8b2bb153143e7:/src/poll.c?ds=sidebyside diff --git a/src/poll.c b/src/poll.c index 63de431..35d0855 100644 --- a/src/poll.c +++ b/src/poll.c @@ -32,8 +32,8 @@ #ifdef HAVE_POLL -int adns_beforepoll(adns_state ads, struct pollfd *fds, int *nfds_io, int *timeout_io, - const struct timeval *now) { +int adns_beforepoll(adns_state ads, struct pollfd *fds, int *nfds_io, + int *timeout_io, const struct timeval *now) { struct timeval tv_nowbuf, tv_tobuf, *tv_to; int space, found, timeout_ms, r; struct pollfd fds_tmp[MAX_POLLFDS];