summaryrefslogtreecommitdiff
path: root/packfile.h
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2017-08-18 15:20:23 -0700
committerJunio C Hamano <gitster@pobox.com>2017-08-23 15:12:07 -0700
commit97de1803f8972c41703424bb1697c224deb2b558 (patch)
tree4d9ed75945a0c515a29ab3c963832c8ef77360d3 /packfile.h
parent84f80ad5e11d29b61570269a25cf447f34c5aeba (diff)
downloadgit-97de1803f8972c41703424bb1697c224deb2b558.tar.gz
pack: move unuse_pack()
Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'packfile.h')
-rw-r--r--packfile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/packfile.h b/packfile.h
index e0596bb6b2..c669c11f88 100644
--- a/packfile.h
+++ b/packfile.h
@@ -45,6 +45,7 @@ extern void close_pack_index(struct packed_git *);
extern unsigned char *use_pack(struct packed_git *, struct pack_window **, off_t, unsigned long *);
extern void close_pack_windows(struct packed_git *);
extern void close_all_packs(void);
+extern void unuse_pack(struct pack_window **);
extern void release_pack_memory(size_t);