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_linux_ialloc.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_linux_ialloc.c')
-rw-r--r-- | sys/gnu/fs/ext2fs/ext2_linux_ialloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/gnu/fs/ext2fs/ext2_linux_ialloc.c b/sys/gnu/fs/ext2fs/ext2_linux_ialloc.c index adc5dc4..263992a 100644 --- a/sys/gnu/fs/ext2fs/ext2_linux_ialloc.c +++ b/sys/gnu/fs/ext2fs/ext2_linux_ialloc.c @@ -37,6 +37,7 @@ #include <ufs/ufs/quota.h> #include <ufs/ufs/inode.h> #include <ufs/ufs/ufsmount.h> +#include <gnu/ext2fs/ext2_extern.h> #include <gnu/ext2fs/ext2_fs.h> #include <gnu/ext2fs/ext2_fs_sb.h> #include <gnu/ext2fs/fs.h> @@ -448,7 +449,7 @@ repeat: return j; } -unsigned long ext2_count_free_inodes (struct mount * mp) +static unsigned long ext2_count_free_inodes (struct mount * mp) { #ifdef EXT2FS_DEBUG struct ext2_sb_info *sb = VFSTOUFS(mp)->um_e2fs; @@ -517,4 +518,3 @@ void ext2_check_inodes_bitmap (struct mount * mp) unlock_super (sb); } #endif - |