Avoid shadowing a global declaration
This commit is contained in:
parent
ee19b44fe0
commit
9a70a6d0c0
@ -158,17 +158,10 @@ typedef int ares_socket_t;
|
|||||||
#define ares_socket_typedef
|
#define ares_socket_typedef
|
||||||
#endif /* ares_socket_typedef */
|
#endif /* ares_socket_typedef */
|
||||||
|
|
||||||
#ifdef WIN32
|
|
||||||
typedef void (*ares_sock_state_cb)(void *data,
|
typedef void (*ares_sock_state_cb)(void *data,
|
||||||
SOCKET socket,
|
ares_socket_t socket_fd,
|
||||||
int readable,
|
int readable,
|
||||||
int writable);
|
int writable);
|
||||||
#else
|
|
||||||
typedef void (*ares_sock_state_cb)(void *data,
|
|
||||||
int socket,
|
|
||||||
int readable,
|
|
||||||
int writable);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
struct apattern;
|
struct apattern;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user