diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-04-16 12:30:01 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-04-16 12:30:01 +0000 |
commit | 69b1ac7dcd3f44f4271a721388a5db1b6f42ae52 (patch) | |
tree | 2f501b7e5d98c584554ea6d15f568866872c8d70 /ares | |
parent | b15507aac3e2a94e7d0957d78e5d3a99a51cd509 (diff) |
avoid warning on windows
Diffstat (limited to 'ares')
-rw-r--r-- | ares/ares_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ares/ares_init.c b/ares/ares_init.c index c72033ba6..8d1f335b7 100644 --- a/ares/ares_init.c +++ b/ares/ares_init.c @@ -68,8 +68,8 @@ static int config_nameserver(struct server_state **servers, int *nservers, static int set_search(ares_channel channel, const char *str); static int set_options(ares_channel channel, const char *str); static const char *try_option(const char *p, const char *q, const char *opt); -static int sortlist_alloc(struct apattern **sortlist, int *nsort, struct apattern *pat); #ifndef WIN32 +static int sortlist_alloc(struct apattern **sortlist, int *nsort, struct apattern *pat); static int ip_addr(const char *s, int len, struct in_addr *addr); static void natural_mask(struct apattern *pat); static int config_domain(ares_channel channel, char *str); |