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>
This commit is contained in:
Jonathan Tan
2017-08-18 15:20:20 -07:00
committed by Junio C Hamano
parent 0317f45576
commit f0e17e86e1
4 changed files with 53 additions and 51 deletions

View File

@@ -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