From ea19fbed0538d0e13549ff9753533fe4f9edeffd Mon Sep 17 00:00:00 2001 From: behlendo Date: Thu, 13 Mar 2008 22:52:23 +0000 Subject: [PATCH] Add missing headers git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@44 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c --- include/sys/sunldi.h | 9 +++++++++ include/util/qsort.h | 8 ++++++++ 2 files changed, 17 insertions(+) create mode 100644 include/sys/sunldi.h create mode 100644 include/util/qsort.h diff --git a/include/sys/sunldi.h b/include/sys/sunldi.h new file mode 100644 index 0000000000..01e80b54f4 --- /dev/null +++ b/include/sys/sunldi.h @@ -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 index 0000000000..f7bb268476 --- /dev/null +++ b/include/util/qsort.h @@ -0,0 +1,8 @@ +#ifndef _SPL_QSORT_H +#define _SPL_QSORT_H + +#include + +#define qsort(base, num, size, cmp) sort(base, num, size, cmp, NULL) + +#endif /* SPL_QSORT_H */