diff options
author | behlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c> | 2008-03-01 18:30:12 +0000 |
---|---|---|
committer | behlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c> | 2008-03-01 18:30:12 +0000 |
commit | dbb484ec6002723fc89e2231436c2c7ef51d83d3 (patch) | |
tree | 0397dc35b33b0074eda352eed4caf470885bd7a7 | |
parent | d5f087adef0e5f62f565998a8d54d7cb3c3fe2fa (diff) |
Stub out some missing headers which are expected. I'll fill
in what the contents need to be as I encounter the warnings
about missing prototypes, symbols, and such.
git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@21 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
-rw-r--r-- | include/rpc/types.h | 6 | ||||
-rw-r--r-- | include/rpc/xdr.h | 6 | ||||
-rw-r--r-- | include/sys/errno.h | 4 | ||||
-rw-r--r-- | include/sys/int_limits.h | 4 | ||||
-rw-r--r-- | include/sys/isa_defs.h | 4 | ||||
-rw-r--r-- | include/sys/stropts.h | 4 | ||||
-rw-r--r-- | include/sys/time.h | 2 | ||||
-rw-r--r-- | include/sys/types.h | 5 | ||||
-rw-r--r-- | include/sys/va_list.h | 4 | ||||
-rw-r--r-- | include/sys/varargs.h | 4 |
10 files changed, 41 insertions, 2 deletions
diff --git a/include/rpc/types.h b/include/rpc/types.h new file mode 100644 index 000000000..537d322f1 --- /dev/null +++ b/include/rpc/types.h @@ -0,0 +1,6 @@ +#ifndef _SPL_RPC_TYPES_H +#define _SPL_RPC_TYPES_H + +#include <linux/sunrpc/types.h> + +#endif /* SPL_RPC_TYPES_H */ diff --git a/include/rpc/xdr.h b/include/rpc/xdr.h new file mode 100644 index 000000000..3cd3574eb --- /dev/null +++ b/include/rpc/xdr.h @@ -0,0 +1,6 @@ +#ifndef _SPL_RPC_XDR_H +#define _SPL_RPC_XDR_H + +#include <linux/sunrpc/xdr.h> + +#endif /* SPL_RPC_XDR_H */ diff --git a/include/sys/errno.h b/include/sys/errno.h new file mode 100644 index 000000000..f33fe8682 --- /dev/null +++ b/include/sys/errno.h @@ -0,0 +1,4 @@ +#ifndef _SPL_ERRNO_H +#define _SPL_ERRNO_H + +#endif /* SPL_ERRNO_H */ diff --git a/include/sys/int_limits.h b/include/sys/int_limits.h new file mode 100644 index 000000000..13193e6f1 --- /dev/null +++ b/include/sys/int_limits.h @@ -0,0 +1,4 @@ +#ifndef _SPL_INT_LIMITS_H +#define _SPL_INT_LIMITS_H + +#endif /* SPL_INT_LIMITS_H */ diff --git a/include/sys/isa_defs.h b/include/sys/isa_defs.h new file mode 100644 index 000000000..953ff02e1 --- /dev/null +++ b/include/sys/isa_defs.h @@ -0,0 +1,4 @@ +#ifndef _SPL_ISA_DEFS_H +#define _SPL_ISA_DEFS_H + +#endif /* SPL_ISA_DEFS_H */ diff --git a/include/sys/stropts.h b/include/sys/stropts.h new file mode 100644 index 000000000..b92949fee --- /dev/null +++ b/include/sys/stropts.h @@ -0,0 +1,4 @@ +#ifndef _SPL_STROPTS_H +#define _SPL_STROPTS_H + +#endif /* SPL_STROPTS_H */ diff --git a/include/sys/time.h b/include/sys/time.h index 726bd5f8a..6124a841d 100644 --- a/include/sys/time.h +++ b/include/sys/time.h @@ -15,8 +15,6 @@ extern "C" { #include <sys/types.h> extern unsigned long long monotonic_clock(void); -typedef struct timespec timestruc_t; /* definition per SVr4 */ -typedef longlong_t hrtime_t; #define TIME32_MAX INT32_MAX #define TIME32_MIN INT32_MIN diff --git a/include/sys/types.h b/include/sys/types.h index b72b6c9e0..28dc16435 100644 --- a/include/sys/types.h +++ b/include/sys/types.h @@ -5,6 +5,9 @@ extern "C" { #endif +#include <linux/types.h> +#include <sys/generic.h> + typedef enum { B_FALSE=0, B_TRUE=1 } boolean_t; typedef unsigned long uintptr_t; typedef unsigned long intptr_t; @@ -19,6 +22,8 @@ typedef long long offset_t; typedef struct task_struct kthread_t; typedef struct vmem { } vmem_t; typedef short pri_t; +typedef struct timespec timestruc_t; /* definition per SVr4 */ +typedef longlong_t hrtime_t; #ifdef __cplusplus } diff --git a/include/sys/va_list.h b/include/sys/va_list.h new file mode 100644 index 000000000..6eb763ff9 --- /dev/null +++ b/include/sys/va_list.h @@ -0,0 +1,4 @@ +#ifndef _SPL_VA_LIST_H +#define _SPL_VA_LIST_H + +#endif /* SPL_VA_LIST_H */ diff --git a/include/sys/varargs.h b/include/sys/varargs.h new file mode 100644 index 000000000..5a5444360 --- /dev/null +++ b/include/sys/varargs.h @@ -0,0 +1,4 @@ +#ifndef _SPL_VARARGS_H +#define _SPL_VARARGS_H + +#endif /* SPL_VARARGS_H */ |