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 | 9a70a6d0c0d1a23dd6c3d286a8fe4359c179e835 (patch) | |
tree | 22b471f735cde307ddce8c06c8325236e8dfe184 | |
parent | ee19b44fe09e001f12cf2e683a5e68d7d4fc52c1 (diff) | |
download | curl-9a70a6d0c0d1a23dd6c3d286a8fe4359c179e835.tar.gz |
Avoid shadowing a global declaration
-rw-r--r-- | ares/ares.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/ares/ares.h b/ares/ares.h index 03b6a924a..4437e3d3a 100644 --- a/ares/ares.h +++ b/ares/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; |