summaryrefslogtreecommitdiff
path: root/lib/hash.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-09-02 12:06:20 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-09-02 22:41:58 +0200
commit9b3f888a00fe0c796e8ef7f00d03bb2adc2baa4e (patch)
treed8807f4db74c55c7fc4f23004392d8bb0892b658 /lib/hash.h
parent8bdc4f8aeee98802e16426adfb79855df918d47c (diff)
downloadcurl-9b3f888a00fe0c796e8ef7f00d03bb2adc2baa4e.tar.gz
llist: make it "struct Curl_llist"
As internal global names should use captical C. Closes #5906
Diffstat (limited to 'lib/hash.h')
-rw-r--r--lib/hash.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/hash.h b/lib/hash.h
index 558d0f47c..bf85e0f3c 100644
--- a/lib/hash.h
+++ b/lib/hash.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2020, 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
@@ -44,7 +44,7 @@ typedef size_t (*comp_function) (void *key1,
typedef void (*curl_hash_dtor)(void *);
struct curl_hash {
- struct curl_llist *table;
+ struct Curl_llist *table;
/* Hash function to be used for this hash table */
hash_function hash_func;
@@ -57,7 +57,7 @@ struct curl_hash {
};
struct curl_hash_element {
- struct curl_llist_element list;
+ struct Curl_llist_element list;
void *ptr;
size_t key_len;
char key[1]; /* allocated memory following the struct */
@@ -66,7 +66,7 @@ struct curl_hash_element {
struct curl_hash_iterator {
struct curl_hash *hash;
int slot_index;
- struct curl_llist_element *current_element;
+ struct Curl_llist_element *current_element;
};
int Curl_hash_init(struct curl_hash *h,