summaryrefslogtreecommitdiffstats
path: root/include/linux/sort.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sort.h')
-rw-r--r--include/linux/sort.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/sort.h b/include/linux/sort.h
new file mode 100644
index 0000000..d534da2
--- /dev/null
+++ b/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
OpenPOWER on IntegriCloud