summaryrefslogtreecommitdiff
path: root/e2fsck/e2fsck.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2013-12-16 18:56:36 -0500
committerTheodore Ts'o <tytso@mit.edu>2013-12-16 18:56:36 -0500
commitf404167dda29a59d2be2882328aeb074b9899669 (patch)
tree6ee643255b5b9a9b7680bef1ec61f74f3d9da77f /e2fsck/e2fsck.c
parent4727c67dc20f0c15cc8502b9bc3ee9f73d7e2c3a (diff)
downloade2fsprogs-f404167dda29a59d2be2882328aeb074b9899669.tar.gz
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/e2fsck.c')
-rw-r--r--e2fsck/e2fsck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/e2fsck/e2fsck.c b/e2fsck/e2fsck.c
index 994f80e8..0ec15404 100644
--- a/e2fsck/e2fsck.c
+++ b/e2fsck/e2fsck.c
@@ -199,7 +199,7 @@ void e2fsck_free_context(e2fsck_t ctx)
*/
typedef void (*pass_t)(e2fsck_t ctx);
-pass_t e2fsck_passes[] = {
+static pass_t e2fsck_passes[] = {
e2fsck_pass1, e2fsck_pass2, e2fsck_pass3, e2fsck_pass4,
e2fsck_pass5, 0 };