diff options
author | Daniel Buch <boogiewasthere@gmail.com> | 2013-04-26 18:40:08 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2013-05-03 00:29:16 +0200 |
commit | 2f79c10e9aef916efbcf29315eea8c25d0a50ac4 (patch) | |
tree | 12b06a700993fdf2fcbef1d96cce0013cad3a57d /src | |
parent | 9341a4a167f348fc42cdd6f7ac8763bf3a0c5911 (diff) | |
download | systemd-2f79c10e9aef916efbcf29315eea8c25d0a50ac4.tar.gz |
hashmap.h: fix coding style issue
Diffstat (limited to 'src')
-rw-r--r-- | src/shared/hashmap.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/shared/hashmap.h b/src/shared/hashmap.h index 26bd03096d..f52517f476 100644 --- a/src/shared/hashmap.h +++ b/src/shared/hashmap.h @@ -57,11 +57,11 @@ int hashmap_ensure_allocated(Hashmap **h, hash_func_t hash_func, compare_func_t int hashmap_put(Hashmap *h, const void *key, void *value); int hashmap_update(Hashmap *h, const void *key, void *value); int hashmap_replace(Hashmap *h, const void *key, void *value); -void* hashmap_get(Hashmap *h, const void *key); -void* hashmap_get2(Hashmap *h, const void *key, void **rkey); +void *hashmap_get(Hashmap *h, const void *key); +void *hashmap_get2(Hashmap *h, const void *key, void **rkey); bool hashmap_contains(Hashmap *h, const void *key); -void* hashmap_remove(Hashmap *h, const void *key); -void* hashmap_remove_value(Hashmap *h, const void *key, void *value); +void *hashmap_remove(Hashmap *h, const void *key); +void *hashmap_remove_value(Hashmap *h, const void *key, void *value); int hashmap_remove_and_put(Hashmap *h, const void *old_key, const void *new_key, void *value); int hashmap_remove_and_replace(Hashmap *h, const void *old_key, const void *new_key, void *value); @@ -82,9 +82,9 @@ void hashmap_clear_free_free(Hashmap *h); void *hashmap_steal_first(Hashmap *h); void *hashmap_steal_first_key(Hashmap *h); -void* hashmap_first(Hashmap *h); -void* hashmap_first_key(Hashmap *h); -void* hashmap_last(Hashmap *h); +void *hashmap_first(Hashmap *h); +void *hashmap_first_key(Hashmap *h); +void *hashmap_last(Hashmap *h); void *hashmap_next(Hashmap *h, const void *key); |