summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/sort.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/sort.h')
-rw-r--r--kernel/include/linux/sort.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/kernel/include/linux/sort.h b/kernel/include/linux/sort.h
new file mode 100644
index 000000000..d534da2b5
--- /dev/null
+++ b/kernel/include/linux/sort.h
@@ -0,0 +1,10 @@
+#ifndef _LINUX_SORT_H
+#define _LINUX_SORT_H
+
+#include <linux/types.h>
+
+void sort(void *base, size_t num, size_t size,
+ int (*cmp)(const void *, const void *),
+ void (*swap)(void *, void *, int));
+
+#endif