alloc.[ch]: remove alloc_report() function
The alloc_report() function has been orphaned since its introduction
in 855419f764
(Add specialized object allocator, 2006-06-19), it
appears to have been used for demonstration purposes in that commit
message.
These might be handy to manually use in a debugger, but keeping them
and the "count" member of "alloc_state" just for that doesn't seem
worth it.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
89ef49b30c
commit
0b75e5bf22
1
alloc.h
1
alloc.h
@ -13,7 +13,6 @@ void init_commit_node(struct commit *c);
|
||||
void *alloc_commit_node(struct repository *r);
|
||||
void *alloc_tag_node(struct repository *r);
|
||||
void *alloc_object_node(struct repository *r);
|
||||
void alloc_report(struct repository *r);
|
||||
|
||||
struct alloc_state *allocate_alloc_state(void);
|
||||
void clear_alloc_state(struct alloc_state *s);
|
||||
|
Reference in New Issue
Block a user