diff options
author | Bobby Bingham <koorogi@koorogi.info> | 2014-06-21 11:24:23 -0500 |
---|---|---|
committer | Bobby Bingham <koorogi@koorogi.info> | 2014-06-21 11:24:23 -0500 |
commit | f305d9d704dd76385941414287f5124d8c35d8b5 (patch) | |
tree | 159d4d7abb573572e5c30da787c8c7b2033ec868 /sorters.h | |
parent | 5fa0d5023f0e2935f99b04422f3a338d77264107 (diff) |
Add glibc's sorts
Also rename musl's sort function for more consistency.
Diffstat (limited to 'sorters.h')
-rw-r--r-- | sorters.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |