From f305d9d704dd76385941414287f5124d8c35d8b5 Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Sat, 21 Jun 2014 11:24:23 -0500 Subject: Add glibc's sorts Also rename musl's sort function for more consistency. --- sorters.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sorters.h') diff --git a/sorters.h b/sorters.h index 1a2397a..c6850d2 100644 --- a/sorters.h +++ b/sorters.h @@ -3,7 +3,9 @@ typedef int (*cmpfun)(const void *, const void *); typedef void (*sorter)(void *, size_t, size_t, cmpfun); -void qsort_musl(void *, size_t, size_t, cmpfun); +void musl_qsort(void *, size_t, size_t, cmpfun); +void glibc_quicksort(void *, size_t, size_t, cmpfun); +void glibc_mergesort(void *, size_t, size_t, cmpfun); extern const struct sorter { const char *name; -- cgit v1.2.3