From f404167dda29a59d2be2882328aeb074b9899669 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Mon, 16 Dec 2013 18:56:36 -0500 Subject: 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" --- misc/dumpe2fs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'misc/dumpe2fs.c') diff --git a/misc/dumpe2fs.c b/misc/dumpe2fs.c index b4b313a5..cb59f412 100644 --- a/misc/dumpe2fs.c +++ b/misc/dumpe2fs.c @@ -45,10 +45,10 @@ extern int optind; #define in_use(m, x) (ext2fs_test_bit ((x), (m))) -const char * program_name = "dumpe2fs"; -char * device_name = NULL; -int hex_format = 0; -int blocks64 = 0; +static const char * program_name = "dumpe2fs"; +static char * device_name = NULL; +static int hex_format = 0; +static int blocks64 = 0; static void usage(void) { -- cgit v1.2.1