Merge branch 'np/malloc-threading' into maint
[gitweb.git] / git-compat-util.h
index b96912b5d36e971212e219f038b62bfcb7bdbd14..c4f4e15036577bc0c55d19cef26fd0ce26b233ad 100644 (file)
@@ -356,6 +356,8 @@ static inline void *gitmempcpy(void *dest, const void *src, size_t n)
 
 extern void release_pack_memory(size_t, int);
 
+extern void set_try_to_free_routine(void (*routine)(size_t));
+
 extern char *xstrdup(const char *str);
 extern void *xmalloc(size_t size);
 extern void *xmallocz(size_t size);