diff options
author | Theodore Ts'o <tytso@mit.edu> | 2013-12-16 18:56:36 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2013-12-16 18:56:36 -0500 |
commit | f404167dda29a59d2be2882328aeb074b9899669 (patch) | |
tree | 6ee643255b5b9a9b7680bef1ec61f74f3d9da77f /e2fsck/pass2.c | |
parent | 4727c67dc20f0c15cc8502b9bc3ee9f73d7e2c3a (diff) | |
download | android_external_e2fsprogs-f404167dda29a59d2be2882328aeb074b9899669.tar.gz android_external_e2fsprogs-f404167dda29a59d2be2882328aeb074b9899669.tar.bz2 android_external_e2fsprogs-f404167dda29a59d2be2882328aeb074b9899669.zip |
Clean up sparse warnings
Mostly by adding static and removing excess extern qualifiers. Also
convert a few remaining non-ANSI function declarations to ANSI.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'e2fsck/pass2.c')
-rw-r--r-- | e2fsck/pass2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/e2fsck/pass2.c b/e2fsck/pass2.c index b7268e34..7277a7b3 100644 --- a/e2fsck/pass2.c +++ b/e2fsck/pass2.c @@ -1260,8 +1260,8 @@ static void clear_htree(e2fsck_t ctx, ext2_ino_t ino) } -extern int e2fsck_process_bad_inode(e2fsck_t ctx, ext2_ino_t dir, - ext2_ino_t ino, char *buf) +int e2fsck_process_bad_inode(e2fsck_t ctx, ext2_ino_t dir, + ext2_ino_t ino, char *buf) { ext2_filsys fs = ctx->fs; struct ext2_inode inode; |