mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:21:41 +03:00
lib: fix formatting nits (part 3)
From `lib/h` to `lib/w`. part 1:47a1ab2ebe#19764 part 2:86b346443b#19800 Closes #19811
This commit is contained in:
parent
dc8c0d54a5
commit
c3b030b860
102 changed files with 2001 additions and 2226 deletions
|
|
@ -38,10 +38,9 @@ static uint32_t uint32_hash_hash(uint32_t id, uint32_t slots)
|
|||
return (id % slots);
|
||||
}
|
||||
|
||||
|
||||
struct uint_hash_entry {
|
||||
struct uint_hash_entry *next;
|
||||
void *value;
|
||||
void *value;
|
||||
uint32_t id;
|
||||
};
|
||||
|
||||
|
|
@ -111,8 +110,8 @@ static void uint32_hash_elem_link(struct uint_hash *h,
|
|||
++h->size;
|
||||
}
|
||||
|
||||
#define CURL_UINT32_HASH_SLOT(h,id) h->table[uint32_hash_hash(id, h->slots)]
|
||||
#define CURL_UINT32_HASH_SLOT_ADDR(h,id) &CURL_UINT32_HASH_SLOT(h,id)
|
||||
#define CURL_UINT32_HASH_SLOT(h, id) h->table[uint32_hash_hash(id, h->slots)]
|
||||
#define CURL_UINT32_HASH_SLOT_ADDR(h, id) &CURL_UINT32_HASH_SLOT(h, id)
|
||||
|
||||
bool Curl_uint32_hash_set(struct uint_hash *h, uint32_t id, void *value)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue