aboutsummaryrefslogtreecommitdiffstats
path: root/com32/include/sort.h
diff options
context:
space:
mode:
Diffstat (limited to 'com32/include/sort.h')
-rw-r--r--com32/include/sort.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/com32/include/sort.h b/com32/include/sort.h
new file mode 100644
index 00000000..0b495482
--- /dev/null
+++ b/com32/include/sort.h
@@ -0,0 +1,18 @@
+/*
+ * sort.h - Quick sort module API definitions
+ *
+ * Created on: Aug 11, 2008
+ * Author: Stefan Bucur <stefanb@zytor.com>
+ */
+
+#ifndef SORT_H_
+#define SORT_H_
+
+/**
+ * quick_sort - In place sort of an array of numbers.
+ * @nums: Pointer to the array
+ * @count: The number count in the array
+ */
+extern void quick_sort(int *nums, int count);
+
+#endif /* SORT_H_ */