]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add missing static keywords for global variables to tools in sbin/.
authored <ed@FreeBSD.org>
Fri, 4 Nov 2011 13:36:02 +0000 (13:36 +0000)
committered <ed@FreeBSD.org>
Fri, 4 Nov 2011 13:36:02 +0000 (13:36 +0000)
commit5b02333e84f8998d65b39ad509f9c9c5b9df1186
tree3cdfecf4c6772b1de7694dadb6b4b6431ecfdb02
parent89ec155d247591875dd57c531f710aa8a05cdb16
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.
31 files changed:
sbin/atm/atmconfig/atmconfig_device.c
sbin/atm/atmconfig/diag.c
sbin/atm/atmconfig/main.c
sbin/badsect/badsect.c
sbin/camcontrol/camcontrol.c
sbin/ccdconfig/ccdconfig.c
sbin/devfs/rule.c
sbin/dmesg/dmesg.c
sbin/dumpfs/dumpfs.c
sbin/fdisk/fdisk.c
sbin/ffsinfo/ffsinfo.c
sbin/fsck/fsck.c
sbin/fsck/preen.c
sbin/fsck_msdosfs/dir.c
sbin/fsirand/fsirand.c
sbin/growfs/growfs.c
sbin/init/init.c
sbin/mount/mount.c
sbin/mount/mount_fs.c
sbin/mount_cd9660/mount_cd9660.c
sbin/mount_nullfs/mount_nullfs.c
sbin/mount_udf/mount_udf.c
sbin/natd/natd.c
sbin/newfs/mkfs.c
sbin/newfs/newfs.h
sbin/rcorder/rcorder.c
sbin/recoverdisk/recoverdisk.c
sbin/shutdown/shutdown.c
sbin/swapon/swapon.c
sbin/tunefs/tunefs.c
sbin/umount/umount.c