From 50e1e10fa0ac12a3e2a9d20a75ee9041873cda96 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sat, 26 Apr 1997 13:58:21 +0000 Subject: Many files: Checked in e2fsprogs 0.5c --- debugfs/icheck.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'debugfs/icheck.c') diff --git a/debugfs/icheck.c b/debugfs/icheck.c index 848c76a3..ef053f5c 100644 --- a/debugfs/icheck.c +++ b/debugfs/icheck.c @@ -11,9 +11,10 @@ #include #include #include -#include +#ifdef HAVE_ERRNO_H +#include +#endif #include -#include #include "debugfs.h" @@ -29,10 +30,10 @@ struct block_walk_struct { ino_t inode; }; -int icheck_proc(ext2_filsys fs, - blk_t *block_nr, - int blockcnt, - void *private) +static int icheck_proc(ext2_filsys fs, + blk_t *block_nr, + int blockcnt, + void *private) { struct block_walk_struct *bw = (struct block_walk_struct *) private; int i; -- cgit v1.2.3