aboutsummaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2017-08-18 15:20:20 -0700
committerJunio C Hamano <gitster@pobox.com>2017-08-23 15:12:06 -0700
commitf0e17e86e1b1030b2719f3d6e9d4124c9b5bc480 (patch)
tree8bbe6ceefe3fa6bdd8f5325925cb6319deeca1e5 /git-compat-util.h
parent0317f45576a0b48c90c4b023fa572a000633946c (diff)
downloadgit-f0e17e86e1b1030b2719f3d6e9d4124c9b5bc480.tar.gz
git-f0e17e86e1b1030b2719f3d6e9d4124c9b5bc480.tar.xz
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 'git-compat-util.h')
-rw-r--r--git-compat-util.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index 7d2c0ca75..6678b488c 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -749,8 +749,6 @@ const char *inet_ntop(int af, const void *src, char *dst, size_t size);
extern int git_atexit(void (*handler)(void));
#endif
-extern void release_pack_memory(size_t);
-
typedef void (*try_to_free_t)(size_t);
extern try_to_free_t set_try_to_free_routine(try_to_free_t);