hashmap_entry_init takes "struct hashmap_entry *"
authorEric Wong <redacted>
Sun, 6 Oct 2019 23:30:27 +0000 (23:30 +0000)
committerJunio C Hamano <redacted>
Mon, 7 Oct 2019 01:20:09 +0000 (10:20 +0900)
commitd22245a2e360d2e708ca37169be8eb5a5899b98d
treef1bde8f5da6ea424fa1f9538d6debd4b5fd6b5f4
parentd0a48a0a1d0df49af2e5fd6a80b0d84776c285aa
hashmap_entry_init takes "struct hashmap_entry *"

C compilers do type checking to make life easier for us.  So
rely on that and update all hashmap_entry_init callers to take
"struct hashmap_entry *" to avoid future bugs while improving
safety and readability.

Signed-off-by: Eric Wong <redacted>
Reviewed-by: Derrick Stolee <redacted>
Signed-off-by: Junio C Hamano <redacted>
23 files changed:
attr.c
blame.c
builtin/describe.c
builtin/difftool.c
builtin/fast-export.c
builtin/fetch.c
config.c
diffcore-rename.c
hashmap.c
hashmap.h
merge-recursive.c
name-hash.c
packfile.c
patch-ids.c
range-diff.c
ref-filter.c
refs.c
remote.c
revision.c
sequencer.c
sub-process.c
submodule-config.c
t/helper/test-hashmap.c
git clone https://git.99rst.org/PROJECT