summaryrefslogtreecommitdiff
path: root/sys/gnu/fs/ext2fs/ext2_linux_ialloc.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-04-01 15:10:38 +0000
committerBruce Evans <bde@FreeBSD.org>1997-04-01 15:10:38 +0000
commitada28e77e65b55a8b86a4d1a11825d9cb7b7e068 (patch)
treedc2a8c92710689f5e77e9f66774f1bfae8464599 /sys/gnu/fs/ext2fs/ext2_linux_ialloc.c
parentb9478d127ee626c78bd6fe76db6f3f620cc079c7 (diff)
Notes
Diffstat (limited to 'sys/gnu/fs/ext2fs/ext2_linux_ialloc.c')
-rw-r--r--sys/gnu/fs/ext2fs/ext2_linux_ialloc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/gnu/fs/ext2fs/ext2_linux_ialloc.c b/sys/gnu/fs/ext2fs/ext2_linux_ialloc.c
index 263992a2c746..c20770bc733b 100644
--- a/sys/gnu/fs/ext2fs/ext2_linux_ialloc.c
+++ b/sys/gnu/fs/ext2fs/ext2_linux_ialloc.c
@@ -43,7 +43,7 @@
#include <gnu/ext2fs/fs.h>
#include <sys/stat.h>
-#if (i386)
+#ifdef __i386__
#include <gnu/ext2fs/i386-bitops.h>
#else
#error please provide bit operation functions
@@ -449,6 +449,7 @@ repeat:
return j;
}
+#ifdef unused
static unsigned long ext2_count_free_inodes (struct mount * mp)
{
#ifdef EXT2FS_DEBUG
@@ -482,6 +483,7 @@ static unsigned long ext2_count_free_inodes (struct mount * mp)
return VFSTOUFS(mp)->um_e2fsb->s_free_inodes_count;
#endif
}
+#endif /* unused */
#ifdef LATER
void ext2_check_inodes_bitmap (struct mount * mp)