From cbc817e24217d5a7f54e23180e24cb0cf8008944 Mon Sep 17 00:00:00 2001 From: pfg Date: Mon, 14 Jul 2014 19:16:49 +0000 Subject: Minor (mostly cosmetic) cleanups Several whitespace fixes convert *rootDir from external to static. Obtained from: NetBSD, OpenBSD (partial) MFC after: 3 days --- sbin/fsck_msdosfs/dir.c | 2 +- sbin/fsck_msdosfs/ext.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'sbin') 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 */ -- cgit v1.1