diff options
author | Theodore Ts'o <tytso@mit.edu> | 1997-04-26 13:58:21 +0000 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 1997-04-26 13:58:21 +0000 |
commit | 50e1e10fa0ac12a3e2a9d20a75ee9041873cda96 (patch) | |
tree | 7ef931607cf258793edffa5deb1ddb1f46469d04 /debugfs/icheck.c | |
parent | f3db3566b5e1342e49dffc5ec3f418a838584194 (diff) | |
download | android_external_e2fsprogs-50e1e10fa0ac12a3e2a9d20a75ee9041873cda96.tar.gz android_external_e2fsprogs-50e1e10fa0ac12a3e2a9d20a75ee9041873cda96.tar.bz2 android_external_e2fsprogs-50e1e10fa0ac12a3e2a9d20a75ee9041873cda96.zip |
Many files:
Checked in e2fsprogs 0.5c
Diffstat (limited to 'debugfs/icheck.c')
-rw-r--r-- | debugfs/icheck.c | 13 |
1 files changed, 7 insertions, 6 deletions
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 <ctype.h> #include <string.h> #include <time.h> -#include <getopt.h> +#ifdef HAVE_ERRNO_H +#include <errno.h> +#endif #include <sys/types.h> -#include <sys/stat.h> #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; |