Date: Mon, 14 Jul 2014 19:16:49 +0000 (UTC) From: "Pedro F. Giffuni" <pfg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r268628 - head/sbin/fsck_msdosfs Message-ID: <201407141916.s6EJGnqK042362@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407141916.s6EJGnqK042362>