diff options
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h index 9dbcb6a4f..e77f17efc 100644 --- a/src/util.h +++ b/src/util.h @@ -151,6 +151,10 @@ typedef int (*git__tsort_r_cmp)(const void *a, const void *b, void *payload); extern void git__tsort_r( void **dst, size_t size, git__tsort_r_cmp cmp, void *payload); +typedef int (*git__qsort_r_cmp)(const void *a, const void *b, void *payload); + +extern void git__qsort_r( + void *els, size_t nel, size_t elsize, git__qsort_r_cmp cmp, void *payload); /** * @param position If non-NULL, this will be set to the position where the |