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. --- musl_qsort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'musl_qsort.c') diff --git a/musl_qsort.c b/musl_qsort.c index 21a39bd..3792aa1 100644 --- a/musl_qsort.c +++ b/musl_qsort.c @@ -154,7 +154,7 @@ static void trinkle(unsigned char *head, size_t width, cmpfun cmp, size_t pp[2], } } -void qsort_musl(void *base, size_t nel, size_t width, cmpfun cmp) +void musl_qsort(void *base, size_t nel, size_t width, cmpfun cmp) { size_t lp[12*sizeof(size_t)]; size_t i, size = width * nel; -- cgit v1.2.3