Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
expose a helper function peel_to_type().
[gitweb.git]
/
git-compat-util.h
diff --git
a/git-compat-util.h
b/git-compat-util.h
index 4df90cb34e61deb56ecb49797e48e67bdc98ff3b..05146047e0f33476df963e0e5aef30dd02a249fc 100644
(file)
--- a/
git-compat-util.h
+++ b/
git-compat-util.h
@@
-426,4
+426,10
@@
static inline int strtol_i(char const *s, int base, int *result)
return 0;
}
+#ifdef INTERNAL_QSORT
+void git_qsort(void *base, size_t nmemb, size_t size,
+ int(*compar)(const void *, const void *));
+#define qsort git_qsort
+#endif
+
#endif