]> git.ipfire.org Git - thirdparty/git.git/commit - alloc.c
alloc: make allocate_alloc_state and clear_alloc_state more consistent
authorElijah Newren <newren@gmail.com>
Wed, 15 Aug 2018 17:54:06 +0000 (10:54 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 Aug 2018 18:52:09 +0000 (11:52 -0700)
commit17313107454de99c0ebdf1a981b1f6a2b17dc2f5
treed0dd9691054c566862b26edcdd564aff99e215b0
parentef3ca95475ce467ae883cc8175ed40e6f7d27800
alloc: make allocate_alloc_state and clear_alloc_state more consistent

Since both functions are using the same data type, they should either both
refer to it as void *, or both use the real type (struct alloc_state *).
Opt for the latter.

Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
alloc.c
alloc.h