Add missing static keywords for global variables to tools in sbin/.
These tools declare global variables without using the static keyword, even though their use is limited to a single C-file, or without placing an extern declaration of them in the proper header file.
This commit is contained in:
@@ -116,7 +116,7 @@ union dinode {
|
||||
} while (0)
|
||||
static ufs2_daddr_t inoblk; /* inode block address */
|
||||
static char inobuf[MAXBSIZE]; /* inode block */
|
||||
ino_t maxino; /* last valid inode */
|
||||
static ino_t maxino; /* last valid inode */
|
||||
static int unlabeled; /* unlabeled partition, e.g. vinum volume etc. */
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user