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:
authorJonathan Tan <jonathantanmy@google.com>2017-08-19 01:20:20 +0300
committerJunio C Hamano <gitster@pobox.com>2017-08-24 01:12:06 +0300
commitf0e17e86e1b1030b2719f3d6e9d4124c9b5bc480 (patch)
tree8bbe6ceefe3fa6bdd8f5325925cb6319deeca1e5 /packfile.h
parent0317f45576a0b48c90c4b023fa572a000633946c (diff)
pack: move release_pack_memory()
The function unuse_one_window() needs to be temporarily made global. Its scope will be restored to static in a subsequent commit. 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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/packfile.h b/packfile.h
index 703887d41b..f6fe1c7418 100644
--- a/packfile.h
+++ b/packfile.h
@@ -43,4 +43,8 @@ extern void pack_report(void);
*/
extern int open_pack_index(struct packed_git *);
+extern int unuse_one_window(struct packed_git *current);
+
+extern void release_pack_memory(size_t);
+
#endif