diff options
author | bde <bde@FreeBSD.org> | 1997-03-24 12:48:46 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-03-24 12:48:46 +0000 |
commit | 51c8cf75db8f2ea29cc7897a28f3700278f84144 (patch) | |
tree | ef4768d6f5dcba02a89944469d8a4e281c51c022 /sys | |
parent | 3c9a4992bc316c34a00e16fe57a3ee36ebbc58a8 (diff) | |
download | FreeBSD-src-51c8cf75db8f2ea29cc7897a28f3700278f84144.zip FreeBSD-src-51c8cf75db8f2ea29cc7897a28f3700278f84144.tar.gz |
Don't include <sys/ioctl.h> in the kernel. Stage 10 (final). Warn if
<sys/ioctl.h> is included in the kernel. It still compiles.
This set of changes reduces the number of dependencies in LINT/.depend
from about 31000 to about 30000. This should make LINT kernels
compile a whole 1% faster. Further reductions to less than 20000
dependencies can easily be made. E.g., 20 headers of nested spam
from <sys/param.h> for 500 object files gives 10000 dependencies;
less than half of these are real.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/ioctl.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/sys/ioctl.h b/sys/sys/ioctl.h index e3a69a5..48e0183 100644 --- a/sys/sys/ioctl.h +++ b/sys/sys/ioctl.h @@ -36,12 +36,16 @@ * SUCH DAMAGE. * * @(#)ioctl.h 8.6 (Berkeley) 3/28/94 - * $Id$ + * $Id: ioctl.h,v 1.6 1997/02/22 09:45:22 peter Exp $ */ #ifndef _SYS_IOCTL_H_ #define _SYS_IOCTL_H_ +#ifdef KERNEL +#warning "Don't #include ioctl.h in the kernel. Include xxxio.h instead." +#endif + #include <sys/ttycom.h> /* |