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:
authorTaylor Blau <me@ttaylorr.com>2021-01-14 01:25:06 +0300
committerJunio C Hamano <gitster@pobox.com>2021-01-14 08:53:48 +0300
commitd5bc7c60c72ee239b5c5d3e4aa808d29412f78d8 (patch)
tree714d05d29b0748279e434194abc6b3e7c8c6d4e3 /pack-revindex.h
parent8389855a9b97c7447383e9938730d24054f33831 (diff)
pack-revindex: hide the definition of 'revindex_entry'
Now that all spots outside of pack-revindex.c that reference 'struct revindex_entry' directly have been removed, it is safe to hide the implementation by moving it from pack-revindex.h to pack-revindex.c. Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-revindex.h')
-rw-r--r--pack-revindex.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/pack-revindex.h b/pack-revindex.h
index 746776be7f..6e0320b08b 100644
--- a/pack-revindex.h
+++ b/pack-revindex.h
@@ -18,11 +18,6 @@
struct packed_git;
-struct revindex_entry {
- off_t offset;
- unsigned int nr;
-};
-
/*
* load_pack_revindex populates the revindex's internal data-structures for the
* given pack, returning zero on success and a negative value otherwise.