summaryrefslogtreecommitdiff
path: root/lib/hostip.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hostip.h')
-rw-r--r--lib/hostip.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hostip.h b/lib/hostip.h
index 67a688aeb..1db598184 100644
--- a/lib/hostip.h
+++ b/lib/hostip.h
@@ -129,8 +129,8 @@ struct Curl_addrinfo *Curl_getaddrinfo(struct Curl_easy *data,
void Curl_resolv_unlock(struct Curl_easy *data,
struct Curl_dns_entry *dns);
-/* init a new dns cache and return success */
-int Curl_mk_dnscache(struct Curl_hash *hash);
+/* init a new dns cache */
+void Curl_init_dnscache(struct Curl_hash *hash);
/* prune old entries from the DNS cache */
void Curl_hostcache_prune(struct Curl_easy *data);