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/fdisk/fdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbin/fdisk') diff --git a/sbin/fdisk/fdisk.c b/sbin/fdisk/fdisk.c index e3591be..38b5498 100644 --- a/sbin/fdisk/fdisk.c +++ b/sbin/fdisk/fdisk.c @@ -47,7 +47,7 @@ __FBSDID("$FreeBSD$"); #include #include -int iotest; +static int iotest; #define NO_DISK_SECTORS ((u_int32_t)-1) #define NO_TRACK_CYLINDERS 1023 -- cgit v1.1