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:
9
ares.h
9
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,
|
||||
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user