summaryrefslogtreecommitdiff
path: root/sorters.h
blob: 1a2397a81b07bb6cf4aa7b2ea70764a94e1d2e1f (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <stddef.h>

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[];