tree-wide: Fix declaration/definition parameter name mismatches

This commit is contained in:
Daan De Meyer
2025-11-26 19:02:31 +09:00
committed by Yu Watanabe
parent a8374a7607
commit 6a9f0641cd
227 changed files with 821 additions and 675 deletions
+6 -6
View File
@@ -123,9 +123,9 @@ static inline void *ordered_hashmap_get(OrderedHashmap *h, const void *key) {
return _hashmap_get(HASHMAP_BASE(h), key);
}
void* hashmap_get2(Hashmap *h, const void *key, void **rkey);
static inline void *ordered_hashmap_get2(OrderedHashmap *h, const void *key, void **rkey) {
return hashmap_get2(PLAIN_HASHMAP(h), key, rkey);
void* hashmap_get2(Hashmap *h, const void *key, void **ret);
static inline void *ordered_hashmap_get2(OrderedHashmap *h, const void *key, void **ret) {
return hashmap_get2(PLAIN_HASHMAP(h), key, ret);
}
bool _hashmap_contains(HashmapBase *h, const void *key);
@@ -144,9 +144,9 @@ static inline void *ordered_hashmap_remove(OrderedHashmap *h, const void *key) {
return _hashmap_remove(HASHMAP_BASE(h), key);
}
void* hashmap_remove2(Hashmap *h, const void *key, void **rkey);
static inline void *ordered_hashmap_remove2(OrderedHashmap *h, const void *key, void **rkey) {
return hashmap_remove2(PLAIN_HASHMAP(h), key, rkey);
void* hashmap_remove2(Hashmap *h, const void *key, void **ret);
static inline void *ordered_hashmap_remove2(OrderedHashmap *h, const void *key, void **ret) {
return hashmap_remove2(PLAIN_HASHMAP(h), key, ret);
}
void* _hashmap_remove_value(HashmapBase *h, const void *key, void *value);