Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-03-31 04:45:55 +0300
committerJunio C Hamano <gitster@pobox.com>2022-04-01 20:16:11 +0300
commit0b75e5bf22d6c2ad0589990613478277a7a48c6f (patch)
tree0afde9822cd7c0087b8431c385076104a2552d6a /alloc.h
parent89ef49b30c09a0a8c96a59bbbb38065f89319af3 (diff)
alloc.[ch]: remove alloc_report() function
The alloc_report() function has been orphaned since its introduction in 855419f764a (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>
Diffstat (limited to 'alloc.h')
-rw-r--r--alloc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/alloc.h b/alloc.h
index 371d388b55..3f4a0ad310 100644
--- a/alloc.h
+++ b/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);