diff options
author | pfg <pfg@FreeBSD.org> | 2014-07-14 19:16:49 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2014-07-14 19:16:49 +0000 |
commit | cbc817e24217d5a7f54e23180e24cb0cf8008944 (patch) | |
tree | 329dcd14f6db2926df42b55057990a54bb1c78cf /sbin/fsck_msdosfs | |
parent | ba32c2f8ac94143a06c0fec9e944eec7ede4798c (diff) | |
download | FreeBSD-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/fsck_msdosfs')
-rw-r--r-- | sbin/fsck_msdosfs/dir.c | 2 | ||||
-rw-r--r-- | sbin/fsck_msdosfs/ext.h | 2 |
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 */ |