From e2d80922fed33ab428d637d870197f9db0330de0 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 19 Oct 2007 10:52:28 +0000 Subject: [PATCH] Avoid shadowing a global declaration --- ares.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/ares.h b/ares.h index 03b6a924..4437e3d3 100644 --- a/ares.h +++ b/ares.h @@ -158,17 +158,10 @@ typedef int ares_socket_t; #define ares_socket_typedef #endif /* ares_socket_typedef */ -#ifdef WIN32 -typedef void (*ares_sock_state_cb)(void *data, - SOCKET socket, - int readable, - int writable); -#else typedef void (*ares_sock_state_cb)(void *data, - int socket, + ares_socket_t socket_fd, int readable, int writable); -#endif struct apattern;