From 2b9fea6ca565b436a4e84d0d01e9144dad9a22c5 Mon Sep 17 00:00:00 2001 From: "Pedro F. Giffuni" Date: Mon, 14 Jul 2014 19:16:49 +0000 Subject: [PATCH] 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(-) diff --git a/sbin/fsck_msdosfs/dir.c b/sbin/fsck_msdosfs/dir.c index 008d0b3398f1..6352ec51647d 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 681cde998e28..9793e12bacd7 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 */