Avoid shadowing a global declaration

pull/1/head
Yang Tse 17 years ago
parent 0e74c9c8cf
commit e2d80922fe
  1. 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,
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;

Loading…
Cancel
Save