aboutsummaryrefslogtreecommitdiff
path: root/sbin/newfs/newfs.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2002-04-04 09:56:51 +0000
committerBruce Evans <bde@FreeBSD.org>2002-04-04 09:56:51 +0000
commit73c36e3672fe0dd7e8d61e4dc81012865eb7dc7d (patch)
tree589f15c2d2dbcec40a68a4c787a0d2f6920c08b9 /sbin/newfs/newfs.c
parent07d77fc610629ef51b16f7ab736fbe9400c676b8 (diff)
downloadsrc-73c36e3672fe0dd7e8d61e4dc81012865eb7dc7d.tar.gz
src-73c36e3672fe0dd7e8d61e4dc81012865eb7dc7d.zip
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.
Notes
Notes: svn path=/head/; revision=93777
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 38881163694a..1c3f2239a6d3 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[])