From 5b02333e84f8998d65b39ad509f9c9c5b9df1186 Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 4 Nov 2011 13:36:02 +0000 Subject: 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. --- sbin/growfs/growfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbin/growfs') diff --git a/sbin/growfs/growfs.c b/sbin/growfs/growfs.c index 148f8ca..18b4a05 100644 --- a/sbin/growfs/growfs.c +++ b/sbin/growfs/growfs.c @@ -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. */ /* -- cgit v1.1