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 /misc/dumpe2fs.c | |
parent | 4727c67dc20f0c15cc8502b9bc3ee9f73d7e2c3a (diff) | |
download | e2fsprogs-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 'misc/dumpe2fs.c')
-rw-r--r-- | misc/dumpe2fs.c | 8 |
1 files changed, 4 insertions, 4 deletions
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) { |