Remove spl.h, just include the headers you need.

Add a few more stubs.



git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@24 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
This commit is contained in:
behlendo 2008-03-04 20:06:29 +00:00
parent 48f940b943
commit 23f28c4f75
7 changed files with 32 additions and 21 deletions

View File

@ -1,5 +1,5 @@
EXTRA_DIST = callb.h cmn_err.h condvar.h cred.h
EXTRA_DIST += debug.h kmem.h kstat.h
EXTRA_DIST += mutex.h param.h random.h rwlock.h
EXTRA_DIST += spl.h taskq.h thread.h time.h
EXTRA_DIST += taskq.h thread.h time.h
EXTRA_DIST += timer.h types.h

4
include/sys/ctype.h Normal file
View File

@ -0,0 +1,4 @@
#ifndef _SPL_CTYPE_H
#define _SPL_CTYPE_H
#endif /* SPL_CTYPE_H */

4
include/sys/inttypes.h Normal file
View File

@ -0,0 +1,4 @@
#ifndef _SPL_INTTYPES_H
#define _SPL_INTTYPES_H
#endif /* SPL_INTTYPES_H */

View File

@ -1,19 +0,0 @@
#ifndef _SPL_H
#define _SPL_H
#include <sys/callb.h>
#include <sys/condvar.h>
#include <sys/cred.h>
#include <sys/sysmacros.h>
#include <sys/kmem.h>
#include <sys/kstat.h>
#include <sys/mutex.h>
#include <sys/random.h>
#include <sys/rwlock.h>
#include <sys/taskq.h>
#include <sys/thread.h>
#include <sys/time.h>
#include <sys/timer.h>
#include <sys/types.h>
#endif /* _SPL_H */

4
include/sys/sunddi.h Normal file
View File

@ -0,0 +1,4 @@
#ifndef _SPL_SUNDDI_H
#define _SPL_SUNDDI_H
#endif /* SPL_SUNDDI_H */

4
include/sys/systm.h Normal file
View File

@ -0,0 +1,4 @@
#ifndef _SPL_SYSTM_H
#define _SPL_SYSTM_H
#endif /* SPL_SYSTM_H */

View File

@ -18,7 +18,21 @@
#include <asm/uaccess.h>
#include <stdarg.h>
#include <sys/spl.h>
#include <sys/callb.h>
#include <sys/condvar.h>
#include <sys/cred.h>
#include <sys/sysmacros.h>
#include <sys/kmem.h>
#include <sys/kstat.h>
#include <sys/mutex.h>
#include <sys/random.h>
#include <sys/rwlock.h>
#include <sys/taskq.h>
#include <sys/thread.h>
#include <sys/time.h>
#include <sys/timer.h>
#include <sys/types.h>
#include "splat-ctl.h"
#define SPLAT_SUBSYSTEM_INIT(type) \