hashmap_remove takes "const struct hashmap_entry *"
commit28ee7941280828f9e528bd8c5d0f6515a57e0c44
authorEric Wong <e@80x24.org>
Sun, 6 Oct 2019 23:30:31 +0000 (6 23:30 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Oct 2019 01:20:10 +0000 (7 10:20 +0900)
tree8ccc5bad88aad148e83cccfd1835752188d8640a
parentb6c5241606e67b57470e86ccf547d4ab90008a1d
hashmap_remove takes "const struct hashmap_entry *"

This is less error-prone than "const void *" as the compiler
now detects invalid types being passed.

Signed-off-by: Eric Wong <e@80x24.org>
Reviewed-by: Derrick Stolee <stolee@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
blame.c
hashmap.c
hashmap.h
merge-recursive.c
name-hash.c
packfile.c
range-diff.c
sub-process.c
submodule-config.c