summaryrefslogtreecommitdiffstats
path: root/sys/libkern/qsort_r.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2004-07-15 23:58:23 +0000
committerglebius <glebius@FreeBSD.org>2004-07-15 23:58:23 +0000
commit7597972ed77af33943e7cf02bffe395e692f99ba (patch)
tree6315345dc1641560e640bb10f261ca3dd93fee9f /sys/libkern/qsort_r.c
parentf24213beb7fc2f5c6b8ef6f5dbf14a6d29bc4269 (diff)
downloadFreeBSD-src-7597972ed77af33943e7cf02bffe395e692f99ba.zip
FreeBSD-src-7597972ed77af33943e7cf02bffe395e692f99ba.tar.gz
Copy qsort_r(3) from libc to libkern.
Reviewed by: phk Approved by: julian (mentor)
Diffstat (limited to 'sys/libkern/qsort_r.c')
-rw-r--r--sys/libkern/qsort_r.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/libkern/qsort_r.c b/sys/libkern/qsort_r.c
new file mode 100644
index 0000000..386d1cf
--- /dev/null
+++ b/sys/libkern/qsort_r.c
@@ -0,0 +1,8 @@
+/*
+ * This file is in the public domain. Originally written by Garrett
+ * A. Wollman.
+ *
+ * $FreeBSD$
+ */
+#define I_AM_QSORT_R
+#include "libkern/qsort.c"
OpenPOWER on IntegriCloud