Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'np/malloc-threading'
[gitweb.git]
/
git-compat-util.h
diff --git
a/git-compat-util.h
b/git-compat-util.h
index 6e259772895599b35d13564e62077b882f0de3a6..001e5db4bbfb55c954168dd9b35cf3861b7a0c29 100644
(file)
--- a/
git-compat-util.h
+++ b/
git-compat-util.h
@@
-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);