]> git.proxmox.com Git - mirror_spl.git/commitdiff
Add missing headers
authorbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>
Thu, 13 Mar 2008 22:52:23 +0000 (22:52 +0000)
committerbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>
Thu, 13 Mar 2008 22:52:23 +0000 (22:52 +0000)
git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@44 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c

include/sys/sunldi.h [new file with mode: 0644]
include/util/qsort.h [new file with mode: 0644]

diff --git a/include/sys/sunldi.h b/include/sys/sunldi.h
new file mode 100644 (file)
index 0000000..01e80b5
--- /dev/null
@@ -0,0 +1,9 @@
+#ifndef _SPL_SUNLDI_H
+#define _SPL_SUNLDI_H
+
+/* XXX: ALL TOTALLY BOGUS, JUST PLACE HOLDERS */
+typedef int ddi_devid_t;
+typedef int ldi_handle_t;
+typedef int ldi_ident_t;
+
+#endif /* SPL_SUNLDI_H */
diff --git a/include/util/qsort.h b/include/util/qsort.h
new file mode 100644 (file)
index 0000000..f7bb268
--- /dev/null
@@ -0,0 +1,8 @@
+#ifndef _SPL_QSORT_H
+#define _SPL_QSORT_H
+
+#include <linux/sort.h>
+
+#define qsort(base, num, size, cmp)    sort(base, num, size, cmp, NULL)
+
+#endif /* SPL_QSORT_H */