summaryrefslogtreecommitdiff
path: root/src/basic/hashmap.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-04-01 22:37:21 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-04-01 22:48:42 +0900
commit798931160ee2b1ceadd4202abf881157bbaadead (patch)
tree6a9051bcc6590d12dedc006b400575c79b6bcdf4 /src/basic/hashmap.c
parent72dce85a60d4fda2719b2e759f4d339c16cc3910 (diff)
downloadsystemd-798931160ee2b1ceadd4202abf881157bbaadead.tar.gz
tree-wide: add a space after if, switch, for, and while
Diffstat (limited to 'src/basic/hashmap.c')
-rw-r--r--src/basic/hashmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/hashmap.c b/src/basic/hashmap.c
index bd7a6b0d6e..1855367072 100644
--- a/src/basic/hashmap.c
+++ b/src/basic/hashmap.c
@@ -162,7 +162,7 @@ struct _packed_ indirect_storage {
unsigned n_buckets; /* number of buckets */
unsigned idx_lowest_entry; /* Index below which all buckets are free.
- Makes "while(hashmap_steal_first())" loops
+ Makes "while (hashmap_steal_first())" loops
O(n) instead of O(n^2) for unordered hashmaps. */
uint8_t _pad[3]; /* padding for the whole HashmapBase */
/* The bitfields in HashmapBase complete the alignment of the whole thing. */