summaryrefslogtreecommitdiff
path: root/indexing/makeindexk/qsort.h
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /indexing/makeindexk/qsort.h
Initial commit
Diffstat (limited to 'indexing/makeindexk/qsort.h')
-rw-r--r--indexing/makeindexk/qsort.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/indexing/makeindexk/qsort.h b/indexing/makeindexk/qsort.h
new file mode 100644
index 0000000000..13e4972fec
--- /dev/null
+++ b/indexing/makeindexk/qsort.h
@@ -0,0 +1,16 @@
+/*
+ *
+ * This file is part of
+ * MakeIndex - A formatter and format independent index processor
+ *
+ * This file is public domain software donated by
+ * Nelson Beebe (beebe@science.utah.edu).
+ *
+ */
+#include <string.h> /* for size_t */
+
+typedef int (*qq_compar_fn_t)(const void *, const void *);
+
+extern void qqsort (void *base, size_t n, size_t size, qq_compar_fn_t compar);
+
+#define qsort qqsort