Author: pfg Date: Mon Jul 14 19:16:49 2014 New Revision: 268628 URL: http://svnweb.freebsd.org/changeset/base/268628
Log: Minor (mostly cosmetic) cleanups Several whitespace fixes convert *rootDir from external to static. Obtained from: NetBSD, OpenBSD (partial) MFC after: 3 days Modified: head/sbin/fsck_msdosfs/dir.c head/sbin/fsck_msdosfs/ext.h Modified: head/sbin/fsck_msdosfs/dir.c ============================================================================== --- head/sbin/fsck_msdosfs/dir.c Mon Jul 14 18:04:16 2014 (r268627) +++ head/sbin/fsck_msdosfs/dir.c Mon Jul 14 19:16:49 2014 (r268628) @@ -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; /* Modified: head/sbin/fsck_msdosfs/ext.h ============================================================================== --- head/sbin/fsck_msdosfs/ext.h Mon Jul 14 18:04:16 2014 (r268627) +++ head/sbin/fsck_msdosfs/ext.h Mon Jul 14 19:16:49 2014 (r268628) @@ -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 */ _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"