From 2ba641e5f3879593e36fa84872289872a4060d03 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sun, 12 Feb 2017 00:19:33 +0000 Subject: misc: add static keyword to where needed [smatch scan] text-utils/rev.c:68:9: warning: symbol 'buf' was not declared. Should it be static? Signed-off-by: Sami Kerola --- disk-utils/fsck.cramfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'disk-utils/fsck.cramfs.c') diff --git a/disk-utils/fsck.cramfs.c b/disk-utils/fsck.cramfs.c index 81e17be27..63033d626 100644 --- a/disk-utils/fsck.cramfs.c +++ b/disk-utils/fsck.cramfs.c @@ -69,11 +69,11 @@ static int fd; /* ROM image file descriptor */ static char *filename; /* ROM image filename */ -struct cramfs_super super; /* just find the cramfs superblock once */ +static struct cramfs_super super; /* just find the cramfs superblock once */ static int cramfs_is_big_endian = 0; /* source is big endian */ static int opt_verbose = 0; /* 1 = verbose (-v), 2+ = very verbose (-vv) */ static int opt_extract = 0; /* extract cramfs (-x) */ -char *extract_dir = ""; /* optional extraction directory (-x) */ +static char *extract_dir = ""; /* optional extraction directory (-x) */ #define PAD_SIZE 512 -- cgit v1.2.3-55-g7522