1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-11-22 15:30:37 +00:00

Avoid shadowing a global declaration

This commit is contained in:
Yang Tse
2007-10-19 10:52:28 +00:00
parent 0e74c9c8cf
commit e2d80922fe

9
ares.h
View File

@ -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,
ares_socket_t socket_fd,
int readable,
int writable);
#else
typedef void (*ares_sock_state_cb)(void *data,
int socket,
int readable,
int writable);
#endif
struct apattern;