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:
Ed Schouten
2011-11-04 13:36:02 +00:00
parent 543d97bb43
commit 1efe3c6b58
31 changed files with 48 additions and 49 deletions
+1 -1
View File
@@ -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. */
/*