diff --git a/include/AresHandler.h b/include/AresHandler.h index 778198110a..931a43a6c1 100644 --- a/include/AresHandler.h +++ b/include/AresHandler.h @@ -56,7 +56,7 @@ class AresHandler private: #if HAVE_ARES_GETADDRINFO static void staticCallbackAddrInfo(void *arg, int status, - int timeout, struct ares_addrinfo *result); + int timeout, struct ares_addrinfo *result); void callbackAddrInfo(int status, struct ares_addrinfo *result); #endif static void staticCallback(void *arg, int statusCallback, int timeouts, diff --git a/src/net/AresHandler.cxx b/src/net/AresHandler.cxx index cb81468d92..2ea5d2da90 100644 --- a/src/net/AresHandler.cxx +++ b/src/net/AresHandler.cxx @@ -164,7 +164,7 @@ void AresHandler::callback(int callbackStatus, struct hostent *hostent) #if HAVE_ARES_GETADDRINFO void AresHandler::staticCallbackAddrInfo(void *arg, int status, - int, struct ares_addrinfo *result) + int, struct ares_addrinfo *result) { if (status == ARES_EDESTRUCTION) return;