diff options
author | bde <bde@FreeBSD.org> | 1995-11-09 08:41:25 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-11-09 08:41:25 +0000 |
commit | aded75dcc7f6064842d12a20701f44cece2752ec (patch) | |
tree | 866a77c31ac69b4168aea5f7ae55384668be1668 /sys/gnu/fs/ext2fs/ext2_inode_cnv.c | |
parent | 449a11eb8852c894681575cf4226b1c639a2f9bc (diff) | |
download | FreeBSD-src-aded75dcc7f6064842d12a20701f44cece2752ec.zip FreeBSD-src-aded75dcc7f6064842d12a20701f44cece2752ec.tar.gz |
ext2_inode_cnv.c:
Included <sys/vnode.h> and its prerequisite <sys/proc.h>, and cleaned
up includes. The vop_t changes made the non-inclusion of vnode.h
fatal instead of just sloppy.
i386_bitops.h:
Changed `extern inline' to `static inline'. `extern inline' is a
Linuxism that stops things from compiling without -O. Fixed
idempotency identifier.
Misc:
Added prototypes. Staticized some functions so that prototypes are
unnecessary. Added casts. Cleaned up includes.
Diffstat (limited to 'sys/gnu/fs/ext2fs/ext2_inode_cnv.c')
-rw-r--r-- | sys/gnu/fs/ext2fs/ext2_inode_cnv.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/gnu/fs/ext2fs/ext2_inode_cnv.c b/sys/gnu/fs/ext2fs/ext2_inode_cnv.c index 8d043bc..2f723d4 100644 --- a/sys/gnu/fs/ext2fs/ext2_inode_cnv.c +++ b/sys/gnu/fs/ext2fs/ext2_inode_cnv.c @@ -24,10 +24,12 @@ /* * routines to convert on disk ext2 inodes in dinodes and back */ -#include <sys/types.h> -#include <sys/stat.h> -#include <sys/time.h> +#include <sys/param.h> #include <sys/systm.h> +#include <sys/proc.h> +#include <sys/stat.h> +#include <sys/vnode.h> + #include <ufs/ufs/quota.h> #include <ufs/ufs/inode.h> |