summaryrefslogtreecommitdiffstats
path: root/sbin/newfs/newfs.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-04-04 09:56:51 +0000
committerbde <bde@FreeBSD.org>2002-04-04 09:56:51 +0000
commitd8abc82c52af45fa27059081d5ac3d41cfac5351 (patch)
tree589f15c2d2dbcec40a68a4c787a0d2f6920c08b9 /sbin/newfs/newfs.c
parentfd177bc9595b9076f3b0010d5c8d15d431382251 (diff)
downloadFreeBSD-src-d8abc82c52af45fa27059081d5ac3d41cfac5351.zip
FreeBSD-src-d8abc82c52af45fa27059081d5ac3d41cfac5351.tar.gz
Fixed some style bugs in axings. Whitespace before __P was not axed when
__P was axed. The ordering of several things was bogotified by axing ifdefs.
Diffstat (limited to 'sbin/newfs/newfs.c')
-rw-r--r--sbin/newfs/newfs.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sbin/newfs/newfs.c b/sbin/newfs/newfs.c
index 3888116..1c3f223 100644
--- a/sbin/newfs/newfs.c
+++ b/sbin/newfs/newfs.c
@@ -63,13 +63,13 @@ static const char rcsid[] =
#include <err.h>
#include <errno.h>
#include <paths.h>
+#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <syslog.h>
#include <unistd.h>
-#include <stdarg.h>
#include "newfs.h"
static void fatal(const char *fmt, ...) __printflike(1, 2);
@@ -136,15 +136,15 @@ int avgfilesize = AVFILESIZ;/* expected average file size */
int avgfilesperdir = AFPDIR;/* expected number of files per directory */
int bbsize = BBSIZE; /* boot block size */
int sbsize = SBSIZE; /* superblock size */
-static int t_or_u_flag = 0; /* user has specified -t or -u */
-static char *disktype;
-static int unlabeled;
static char device[MAXPATHLEN];
+static char *disktype;
static char *progname;
+static int t_or_u_flag; /* user has specified -t or -u */
+static int unlabeled;
-static void rewritelabel (char *s, int fd, register struct disklabel *lp);
-static void usage (void);
+static void rewritelabel(char *s, int fd, register struct disklabel *lp);
+static void usage(void);
int
main(int argc, char *argv[])
OpenPOWER on IntegriCloud