diff options
author | bde <bde@FreeBSD.org> | 1996-09-03 14:25:27 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-09-03 14:25:27 +0000 |
commit | 51ff523803ffa72907ef0cb5d9f95e36ac2b1b73 (patch) | |
tree | ba9e41138a27f4565955ba86fe3a5a131647e3fc /sys/miscfs/devfs | |
parent | ad9b91037fe27c080ad2621696ce946fffdee225 (diff) | |
download | FreeBSD-src-51ff523803ffa72907ef0cb5d9f95e36ac2b1b73.zip FreeBSD-src-51ff523803ffa72907ef0cb5d9f95e36ac2b1b73.tar.gz |
Eliminated nested include of <sys/unistd.h> in <sys/file.h> in the kernel.
Include it directly in the few places where it is used.
Reduced some #includes of <sys/file.h> to #includes of <sys/fcntl.h> or
nothing.
Diffstat (limited to 'sys/miscfs/devfs')
-rw-r--r-- | sys/miscfs/devfs/devfs_vnops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/devfs/devfs_vnops.c b/sys/miscfs/devfs/devfs_vnops.c index 0f7d340..8f457ac 100644 --- a/sys/miscfs/devfs/devfs_vnops.c +++ b/sys/miscfs/devfs/devfs_vnops.c @@ -1,7 +1,7 @@ /* * Written by Julian Elischer (julian@DIALix.oz.au) * - * $Header: /home/ncvs/src/sys/miscfs/devfs/devfs_vnops.c,v 1.22 1996/08/13 07:21:45 julian Exp $ + * $Header: /home/ncvs/src/sys/miscfs/devfs/devfs_vnops.c,v 1.23 1996/08/13 19:48:41 julian Exp $ * * symlinks can wait 'til later. */ @@ -11,11 +11,11 @@ #include <sys/namei.h> #include <sys/resourcevar.h> /* defines plimit structure in proc struct */ #include <sys/kernel.h> -#include <sys/file.h> /* define FWRITE ... */ #include <sys/stat.h> #include <sys/buf.h> #include <sys/proc.h> #include <sys/mount.h> +#include <sys/unistd.h> #include <sys/vnode.h> #include <miscfs/specfs/specdev.h>/* definitions of spec functions we use */ #include <sys/malloc.h> |