summaryrefslogtreecommitdiff
path: root/sorters.h
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2014-10-26 23:33:50 -0500
committerBobby Bingham <koorogi@koorogi.info>2014-10-26 23:33:50 -0500
commit40a6ba5c0a5f544bed9c11dc30b751e05a435b1e (patch)
tree796861388460ebfe3571ebc0699c3834d6eb83cf /sorters.h
parent1e3548b039bd6b760ca3fe716c98065735110f58 (diff)
Split helper functions into their own translation units
Diffstat (limited to 'sorters.h')
-rw-r--r--sorters.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sorters.h b/sorters.h
index 5461914..0a63a89 100644
--- a/sorters.h
+++ b/sorters.h
@@ -2,9 +2,7 @@
#define SORTERS_H
#include <stddef.h>
-
-typedef int (*cmpfun)(const void *, const void *);
-typedef void (*sorterfn)(void *, size_t, size_t, cmpfun);
+#include "common.h"
void musl_smoothsort(void *, size_t, size_t, cmpfun);
void musl_heapsort(void *, size_t, size_t, cmpfun);