diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2017-08-19 01:20:20 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-24 01:12:06 +0300 |
commit | f0e17e86e1b1030b2719f3d6e9d4124c9b5bc480 (patch) | |
tree | 8bbe6ceefe3fa6bdd8f5325925cb6319deeca1e5 /packfile.h | |
parent | 0317f45576a0b48c90c4b023fa572a000633946c (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.h | 4 |
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 |