From 79fbef07d889559da688a208d1adf06f94cf94e7 Mon Sep 17 00:00:00 2001 From: Willem Toorop Date: Wed, 23 Jan 2019 10:27:17 +0100 Subject: [PATCH] type specifier misplaced by #ifdef unclarity --- src/general.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/general.c b/src/general.c index 43cc7bd0..3ed067ba 100644 --- a/src/general.c +++ b/src/general.c @@ -251,8 +251,8 @@ _getdns_check_dns_req_complete(getdns_dns_req *dns_req) #ifdef HAVE_LIBUNBOUND #ifdef HAVE_UNBOUND_EVENT_API -static void #if UNBOUND_VERSION_MAJOR > 1 || (UNBOUND_VERSION_MAJOR == 1 && UNBOUND_VERSION_MINOR >= 8) +static void ub_resolve_event_callback(void* arg, int rcode, void *pkt, int pkt_len, int sec, char* why_bogus, int was_ratelimited) {