mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 02:49:32 +03:00
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:
parent
48f940b943
commit
23f28c4f75
@ -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
4
include/sys/ctype.h
Normal file
@ -0,0 +1,4 @@
|
||||
#ifndef _SPL_CTYPE_H
|
||||
#define _SPL_CTYPE_H
|
||||
|
||||
#endif /* SPL_CTYPE_H */
|
4
include/sys/inttypes.h
Normal file
4
include/sys/inttypes.h
Normal file
@ -0,0 +1,4 @@
|
||||
#ifndef _SPL_INTTYPES_H
|
||||
#define _SPL_INTTYPES_H
|
||||
|
||||
#endif /* SPL_INTTYPES_H */
|
@ -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
4
include/sys/sunddi.h
Normal file
@ -0,0 +1,4 @@
|
||||
#ifndef _SPL_SUNDDI_H
|
||||
#define _SPL_SUNDDI_H
|
||||
|
||||
#endif /* SPL_SUNDDI_H */
|
4
include/sys/systm.h
Normal file
4
include/sys/systm.h
Normal file
@ -0,0 +1,4 @@
|
||||
#ifndef _SPL_SYSTM_H
|
||||
#define _SPL_SYSTM_H
|
||||
|
||||
#endif /* SPL_SYSTM_H */
|
@ -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) \
|
||||
|
Loading…
Reference in New Issue
Block a user