diff options
author | bde <bde@FreeBSD.org> | 1999-03-05 11:25:31 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1999-03-05 11:25:31 +0000 |
commit | 6d203414cae29b2e8d67d7d6a63f671228bde7c5 (patch) | |
tree | 9566e4c9255283d83f654a668db829d441bd204e /sys/kern/kern_resource.c | |
parent | 16c496dd85fe19bd73e3eccaaa9a24259f36efa9 (diff) | |
download | FreeBSD-src-6d203414cae29b2e8d67d7d6a63f671228bde7c5.zip FreeBSD-src-6d203414cae29b2e8d67d7d6a63f671228bde7c5.tar.gz |
Moved kernel declarations inside the KERNEL ifdef, and removed
include of <sys/queue.h> in the !KERNEL case. The prerequisites
for <ufs/ufs/quota.h> were broken in Lite2 by converting some of
the kernel declarations to use queue macros without including
<sys/queue.h>. <sys/queue.h> was included in applications in
/usr/src instead. We polluted this file instead of merging the
changes in the applications.
Include <sys/queue.h> in the KERNEL case, and forward-declare all
structs that are used in prototypes, so that this file is almost
self-sufficient even in the kernel.
Obtained from: mostly from NetBSD
Diffstat (limited to 'sys/kern/kern_resource.c')
0 files changed, 0 insertions, 0 deletions