Improve seperation between kernel code and userland code by requiring
authorChris Pressey <cpressey@dragonflybsd.org>
Thu, 30 Dec 2004 07:01:52 +0000 (07:01 +0000)
committerChris Pressey <cpressey@dragonflybsd.org>
Thu, 30 Dec 2004 07:01:52 +0000 (07:01 +0000)
commitd9f3f6fae0b68a5c6660ecb4c38991c202117b9d
tree866d40f0b9426cbe5b15ceb080d25f5a4851c623
parent811c68da838a9616fbf77a8b98702be48e7926cc
Improve seperation between kernel code and userland code by requiring
that source files that #include kernel headers also #define _KERNEL or
_KERNEL_STRUCTURES as appropriate.

With-suggestions-from: joerg
Still-todo: systimer.h, and clean up scsi_da.c
Tested-by: cd /usr/src/nrelease && make installer_release
Approved-by: dillon
If-anything-breaks-yell-at: cpressey
19 files changed:
sys/bus/cam/scsi/scsi_da.c
sys/sys/assym.h
sys/sys/blist.h
sys/sys/bus_private.h
sys/sys/disk.h
sys/sys/eventhandler.h
sys/sys/eventvar.h
sys/sys/kern_syscall.h
sys/sys/kobj.h
sys/sys/kthread.h
sys/sys/lockf.h
sys/sys/sfbuf.h
sys/sys/socketops.h
sys/sys/systm.h
sys/sys/taskqueue.h
sys/sys/timepps.h
sys/sys/tprintf.h
sys/vfs/ufs/inode.h
usr.bin/kdump/mkioctls