diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-01-13 11:43:35 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-01-14 08:09:09 +0100 |
commit | afb150499f057e940d829516ce5bad6e19223e88 (patch) | |
tree | 0c9b979690964b4b6c1bcce38156fcfa65f058d1 /lib/asyn-ares.c | |
parent | c2c9e44a4d8d910f2324e7923e80bc62d0ffedb4 (diff) | |
download | curl-afb150499f057e940d829516ce5bad6e19223e88.tar.gz |
asyn-ares: remove Curl_ prefix from static functions
Diffstat (limited to 'lib/asyn-ares.c')
-rw-r--r-- | lib/asyn-ares.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/asyn-ares.c b/lib/asyn-ares.c index 174757188..606162daa 100644 --- a/lib/asyn-ares.c +++ b/lib/asyn-ares.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -133,8 +133,8 @@ void Curl_resolver_global_cleanup(void) } -static void Curl_ares_sock_state_cb(void *data, ares_socket_t socket_fd, - int readable, int writable) +static void sock_state_cb(void *data, ares_socket_t socket_fd, + int readable, int writable) { struct Curl_easy *easy = data; if(!readable && !writable) { @@ -155,7 +155,7 @@ CURLcode Curl_resolver_init(struct Curl_easy *easy, void **resolver) int status; struct ares_options options; int optmask = ARES_OPT_SOCK_STATE_CB; - options.sock_state_cb = Curl_ares_sock_state_cb; + options.sock_state_cb = sock_state_cb; options.sock_state_cb_data = easy; status = ares_init_options((ares_channel*)resolver, &options, optmask); if(status != ARES_SUCCESS) { |