From 1efe3c6b58ea5d0e5a0d49039d84d00f2370c7de Mon Sep 17 00:00:00 2001 From: Ed Schouten 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/fsirand/fsirand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbin/fsirand') diff --git a/sbin/fsirand/fsirand.c b/sbin/fsirand/fsirand.c index 483879e45d33..c3ae3e0763ad 100644 --- a/sbin/fsirand/fsirand.c +++ b/sbin/fsirand/fsirand.c @@ -60,7 +60,7 @@ int fsirand(char *); */ static int sblock_try[] = SBLOCKSEARCH; -int printonly = 0, force = 0, ignorelabel = 0; +static int printonly = 0, force = 0, ignorelabel = 0; int main(int argc, char *argv[]) -- cgit v1.2.3