summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2014-07-14 19:16:49 +0000
committerpfg <pfg@FreeBSD.org>2014-07-14 19:16:49 +0000
commitcbc817e24217d5a7f54e23180e24cb0cf8008944 (patch)
tree329dcd14f6db2926df42b55057990a54bb1c78cf /sbin
parentba32c2f8ac94143a06c0fec9e944eec7ede4798c (diff)
downloadFreeBSD-src-cbc817e24217d5a7f54e23180e24cb0cf8008944.zip
FreeBSD-src-cbc817e24217d5a7f54e23180e24cb0cf8008944.tar.gz
Minor (mostly cosmetic) cleanups
Several whitespace fixes convert *rootDir from external to static. Obtained from: NetBSD, OpenBSD (partial) MFC after: 3 days
Diffstat (limited to 'sbin')
-rw-r--r--sbin/fsck_msdosfs/dir.c2
-rw-r--r--sbin/fsck_msdosfs/ext.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/sbin/fsck_msdosfs/dir.c b/sbin/fsck_msdosfs/dir.c
index 008d0b3..6352ec5 100644
--- a/sbin/fsck_msdosfs/dir.c
+++ b/sbin/fsck_msdosfs/dir.c
@@ -206,7 +206,7 @@ static char longName[DOSLONGNAMELEN] = "";
static u_char *buffer = NULL;
static u_char *delbuf = NULL;
-struct dosDirEntry *rootDir;
+static struct dosDirEntry *rootDir;
static struct dosDirEntry *lostDir;
/*
diff --git a/sbin/fsck_msdosfs/ext.h b/sbin/fsck_msdosfs/ext.h
index 681cde9..9793e12 100644
--- a/sbin/fsck_msdosfs/ext.h
+++ b/sbin/fsck_msdosfs/ext.h
@@ -43,8 +43,6 @@ extern int preen; /* we are preening */
extern int rdonly; /* device is opened read only (supersedes above) */
extern int skipclean; /* skip clean file systems if preening */
-extern struct dosDirEntry *rootDir;
-
/*
* function declarations
*/
OpenPOWER on IntegriCloud