summaryrefslogtreecommitdiff
path: root/lib/hostip.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-09-02 12:07:44 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-09-02 22:41:58 +0200
commit9e90ff0839a2ad750faad0d8176cd7cc01c1dae2 (patch)
treec952a9703e63631fbb8c81250c96888b39da3f5b /lib/hostip.c
parent9b3f888a00fe0c796e8ef7f00d03bb2adc2baa4e (diff)
downloadcurl-9e90ff0839a2ad750faad0d8176cd7cc01c1dae2.tar.gz
hash: make it 'struct Curl_hash'
As internal global names should use captical C. Closes #5906
Diffstat (limited to 'lib/hostip.c')
-rw-r--r--lib/hostip.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/hostip.c b/lib/hostip.c
index dd5916e33..57c8bd3d8 100644
--- a/lib/hostip.c
+++ b/lib/hostip.c
@@ -206,7 +206,7 @@ hostcache_timestamp_remove(void *datap, void *hc)
* Prune the DNS cache. This assumes that a lock has already been taken.
*/
static void
-hostcache_prune(struct curl_hash *hostcache, long cache_timeout, time_t now)
+hostcache_prune(struct Curl_hash *hostcache, long cache_timeout, time_t now)
{
struct hostcache_prune_data user;
@@ -843,7 +843,7 @@ static void freednsentry(void *freethis)
/*
* Curl_mk_dnscache() inits a new DNS cache and returns success/failure.
*/
-int Curl_mk_dnscache(struct curl_hash *hash)
+int Curl_mk_dnscache(struct Curl_hash *hash)
{
return Curl_hash_init(hash, 7, Curl_hash_str, Curl_str_key_compare,
freednsentry);
@@ -857,7 +857,7 @@ int Curl_mk_dnscache(struct curl_hash *hash)
*/
void Curl_hostcache_clean(struct Curl_easy *data,
- struct curl_hash *hash)
+ struct Curl_hash *hash)
{
if(data && data->share)
Curl_share_lock(data, CURL_LOCK_DATA_DNS, CURL_LOCK_ACCESS_SINGLE);