summaryrefslogtreecommitdiff
path: root/include/qsort.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/qsort.h')
-rw-r--r--include/qsort.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/qsort.h b/include/qsort.h
new file mode 100644
index 0000000..c68b747
--- /dev/null
+++ b/include/qsort.h
@@ -0,0 +1,15 @@
+#ifndef POKEREVO_QSORT_H
+#define POKEREVO_QSORT_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void qsort(void *base, size_t nmemb, size_t size,
+ int (*compar)(const void *, const void *));
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif //POKEREVO_QSORT_H