X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=secnet.git;a=blobdiff_plain;f=resolver.c;h=f60b11282e0bbdc41ba5830414903a3ecb0a3479;hp=b7c56e3bdc4cd6ea87a16eae3636bde459e8cd35;hb=b1a0f651d803e1c1ff50f559b50de5c2dd6236d4;hpb=389070fed67552c613ce5afd3cdb436f8f8c538f diff --git a/resolver.c b/resolver.c index b7c56e3..f60b112 100644 --- a/resolver.c +++ b/resolver.c @@ -39,15 +39,13 @@ static bool_t resolve_request(void *sst, cstring_t name, } static int resolver_beforepoll(void *sst, struct pollfd *fds, int *nfds_io, - int *timeout_io, const struct timeval *tv_now, - uint64_t *now) + int *timeout_io) { struct adns *st=sst; return adns_beforepoll(st->ast, fds, nfds_io, timeout_io, tv_now); } -static void resolver_afterpoll(void *sst, struct pollfd *fds, int nfds, - const struct timeval *tv_now, uint64_t *now) +static void resolver_afterpoll(void *sst, struct pollfd *fds, int nfds) { struct adns *st=sst; adns_query aq;