diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-02-08 09:33:42 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-02-10 18:38:57 +0100 |
commit | 05b100aee247bb9bec8e9a1b0166496aa4248d1c (patch) | |
tree | a0ab4d620d8102de82b08a67609394b0d2f09608 /lib/hostip.h | |
parent | 9a36c0ae21d675587d4e2a52c50a6ce8a2150770 (diff) | |
download | curl-05b100aee247bb9bec8e9a1b0166496aa4248d1c.tar.gz |
cleanup: make local functions static
urlapi: turn three local-only functions into statics
conncache: make conncache_find_first_connection static
multi: make detach_connnection static
connect: make getaddressinfo static
curl_ntlm_core: make hmac_md5 static
http2: make two functions static
http: make http_setup_conn static
connect: make tcpnodelay static
tests: make UNITTEST a thing to mark functions with, so they can be static for
normal builds and non-static for unit test builds
... and mark Curl_shuffle_addr accordingly.
url: make up_free static
setopt: make vsetopt static
curl_endian: make write32_le static
rtsp: make rtsp_connisdead static
warnless: remove unused functions
memdebug: remove one unused function, made another static
Diffstat (limited to 'lib/hostip.h')
-rw-r--r-- | lib/hostip.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/hostip.h b/lib/hostip.h index 29fd1ef7c..cd43882af 100644 --- a/lib/hostip.h +++ b/lib/hostip.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2019, 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 @@ -179,16 +179,6 @@ Curl_fetch_addr(struct connectdata *conn, int port); /* - * Curl_shuffle_addr() shuffles the order of addresses in a 'Curl_addrinfo' - * struct by re-linking its linked list. - * - * The addr argument should be the address of a pointer to the head node of a - * `Curl_addrinfo` list and it will be modified to point to the new head after - * shuffling. - */ -CURLcode Curl_shuffle_addr(struct Curl_easy *data, Curl_addrinfo **addr); - -/* * Curl_cache_addr() stores a 'Curl_addrinfo' struct in the DNS cache. * * Returns the Curl_dns_entry entry pointer or NULL if the storage failed. |