summaryrefslogtreecommitdiff
path: root/e2fsck/revoke.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2001-01-06 05:55:58 +0000
committerTheodore Ts'o <tytso@mit.edu>2001-01-06 05:55:58 +0000
commit53ef44c40a3e425d2c700d8fd77a6b655aa121fe (patch)
treec2df1b8492ab48c8dd977bc89586beb95c112261 /e2fsck/revoke.c
parent8820c79f75c37a3bc85cea7f56e7277025e157ef (diff)
downloade2fsprogs-53ef44c40a3e425d2c700d8fd77a6b655aa121fe.tar.gz
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
Diffstat (limited to 'e2fsck/revoke.c')
-rw-r--r--e2fsck/revoke.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/e2fsck/revoke.c b/e2fsck/revoke.c
index 633f9756..e53b69b6 100644
--- a/e2fsck/revoke.c
+++ b/e2fsck/revoke.c
@@ -114,7 +114,8 @@ static inline int hash(journal_t *journal, unsigned long block)
(block << (hash_shift - 12))) & (table->hash_size - 1);
}
-int insert_revoke_hash(journal_t *journal, unsigned long blocknr, tid_t seq)
+static int insert_revoke_hash(journal_t *journal, unsigned long blocknr,
+ tid_t seq)
{
struct list_head *hash_list;
struct jfs_revoke_record_s *record;