diff options
author | Yang Tse <yangsita@gmail.com> | 2007-10-19 10:52:28 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2007-10-19 10:52:28 +0000 |
commit | e2d80922fed33ab428d637d870197f9db0330de0 (patch) | |
tree | e0d7a95473206f9694214dc321ff89e083a42324 /ares.h | |
parent | 0e74c9c8cf60b15a676b13179066c82fca425106 (diff) | |
download | c-ares-e2d80922fed33ab428d637d870197f9db0330de0.tar.gz c-ares-e2d80922fed33ab428d637d870197f9db0330de0.tar.bz2 c-ares-e2d80922fed33ab428d637d870197f9db0330de0.zip |
Avoid shadowing a global declaration
Diffstat (limited to 'ares.h')
-rw-r--r-- | ares.h | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -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; |