Many files:
journal.c, pass1.c, pass1b.c, pass3.c, recovery.c, revoke.c, super.c,
unix.c, util.c: Fix random gcc -Wall complaints.
jfs_user.h: Use more sophisticated inline handling to allow building
with --enable-gcc-wall
diff --git a/e2fsck/unix.c b/e2fsck/unix.c
index a22a19d..34984e9 100644
--- a/e2fsck/unix.c
+++ b/e2fsck/unix.c
@@ -73,7 +73,8 @@
" -n Make no changes to the filesystem\n"
" -y Assume \"yes\" to all questions\n"
" -c Check for bad blocks\n"
- " -f Force checking even if filesystem is marked clean\n"
+ " -f Force checking even if filesystem is marked clean\n"));
+ fprintf(stderr, _(""
" -v Be verbose\n"
" -b superblock Use alternative superblock\n"
" -B blocksize Force blocksize when looking for superblock\n"
@@ -324,7 +325,7 @@
static int e2fsck_update_progress(e2fsck_t ctx, int pass,
unsigned long cur, unsigned long max)
{
- const char spinner[] = "\\|/-";
+ static const char spinner[] = "\\|/-";
char buf[80];
int i;
float percent;