summaryrefslogtreecommitdiff
path: root/sbin/fsck_ffs
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-09-25 04:19:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-09-25 04:19:40 +0000
commit5f0fab5a39b7a6875afbadeff39f2b894853cf3b (patch)
treec49ff19647a2ec511fc63186fbaa54c87f6cbfe9 /sbin/fsck_ffs
parent3c973a643104315ed1cb6c73fa9aef237775404f (diff)
whack commons as wanted by ho
Diffstat (limited to 'sbin/fsck_ffs')
-rw-r--r--sbin/fsck_ffs/fsck.h5
-rw-r--r--sbin/fsck_ffs/setup.c6
2 files changed, 7 insertions, 4 deletions
diff --git a/sbin/fsck_ffs/fsck.h b/sbin/fsck_ffs/fsck.h
index 74c4cb4638a..c6575bf737c 100644
--- a/sbin/fsck_ffs/fsck.h
+++ b/sbin/fsck_ffs/fsck.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: fsck.h,v 1.13 2003/08/25 23:28:15 tedu Exp $ */
+/* $OpenBSD: fsck.h,v 1.14 2003/09/25 04:19:39 deraadt Exp $ */
/* $NetBSD: fsck.h,v 1.13 1996/10/11 20:15:46 thorpej Exp $ */
/*
@@ -160,7 +160,8 @@ struct inoinfo {
u_int i_numblks; /* size of block array in bytes */
daddr_t i_blks[1]; /* actually longer */
} **inphead, **inpsort;
-long numdirs, listmax, inplast;
+
+extern long numdirs, listmax, inplast;
long dev_bsize; /* computed value of DEV_BSIZE */
long secsize; /* actual disk sector size */
diff --git a/sbin/fsck_ffs/setup.c b/sbin/fsck_ffs/setup.c
index 5906f8a12d7..7857a591299 100644
--- a/sbin/fsck_ffs/setup.c
+++ b/sbin/fsck_ffs/setup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: setup.c,v 1.20 2003/06/26 08:01:54 tedu Exp $ */
+/* $OpenBSD: setup.c,v 1.21 2003/09/25 04:19:39 deraadt Exp $ */
/* $NetBSD: setup.c,v 1.27 1996/09/27 22:45:19 christos Exp $ */
/*
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)setup.c 8.5 (Berkeley) 11/23/94";
#else
-static const char rcsid[] = "$OpenBSD: setup.c,v 1.20 2003/06/26 08:01:54 tedu Exp $";
+static const char rcsid[] = "$OpenBSD: setup.c,v 1.21 2003/09/25 04:19:39 deraadt Exp $";
#endif
#endif /* not lint */
@@ -68,6 +68,8 @@ static struct disklabel *getdisklabel(char *, int);
static int readsb(int);
static int cmpsb(struct fs *, struct fs *);
+long numdirs, listmax, inplast;
+
int
setup(char *dev)
{