aboutsummaryrefslogtreecommitdiff
path: root/mergesort.h
diff options
context:
space:
mode:
Diffstat (limited to 'mergesort.h')
-rw-r--r--mergesort.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/mergesort.h b/mergesort.h
new file mode 100644
index 000000000..d6e5f4a73
--- /dev/null
+++ b/mergesort.h
@@ -0,0 +1,9 @@
+#ifndef MERGESORT_H
+#define MERGESORT_H
+
+void *mergesort(void *list,
+ void *(*get_next_fn)(const void *),
+ void (*set_next_fn)(void *, void *),
+ int (*compare_fn)(const void *, const void *));
+
+#endif