From aded75dcc7f6064842d12a20701f44cece2752ec Mon Sep 17 00:00:00 2001 From: bde Date: Thu, 9 Nov 1995 08:41:25 +0000 Subject: ext2_inode_cnv.c: Included and its prerequisite , 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. --- sys/gnu/fs/ext2fs/ext2_linux_ialloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/gnu/fs/ext2fs/ext2_linux_ialloc.c') 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 #include #include +#include #include #include #include @@ -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 - -- cgit v1.1