From 5fa0d5023f0e2935f99b04422f3a338d77264107 Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Fri, 20 Jun 2014 22:55:59 -0500 Subject: Initial commit: benchmark musl's qsort --- sorters.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sorters.h (limited to 'sorters.h') diff --git a/sorters.h b/sorters.h new file mode 100644 index 0000000..1a2397a --- /dev/null +++ b/sorters.h @@ -0,0 +1,11 @@ +#include + +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); + +extern const struct sorter { + const char *name; + sorter func; +} sorters[]; -- cgit v1.2.3