summaryrefslogtreecommitdiff
path: root/musl_qsort.c
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2014-06-21 11:24:23 -0500
committerBobby Bingham <koorogi@koorogi.info>2014-06-21 11:24:23 -0500
commitf305d9d704dd76385941414287f5124d8c35d8b5 (patch)
tree159d4d7abb573572e5c30da787c8c7b2033ec868 /musl_qsort.c
parent5fa0d5023f0e2935f99b04422f3a338d77264107 (diff)
Add glibc's sorts
Also rename musl's sort function for more consistency.
Diffstat (limited to 'musl_qsort.c')
-rw-r--r--musl_qsort.c2
1 files changed, 1 insertions, 1 deletions
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;