]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - disk-utils/fsck.cramfs.c
misc: add static keyword to where needed [smatch scan]
[thirdparty/util-linux.git] / disk-utils / fsck.cramfs.c
index 81e17be27b57825adf62b3385c8e5aed3d806170..63033d626d2debfa0666ac4493e6ebae6edad770 100644 (file)
 
 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