diff options
author | 2003-09-25 04:19:39 +0000 | |
---|---|---|
committer | 2003-09-25 04:19:39 +0000 | |
commit | 2e615f2f7c34df5bbbe2d356b6e43d2f210decce (patch) | |
tree | ae377db1b3ae3f6c0ed5c109a2c128273de30ace | |
parent | do not crank size before erealloc (diff) | |
download | wireguard-openbsd-2e615f2f7c34df5bbbe2d356b6e43d2f210decce.tar.xz wireguard-openbsd-2e615f2f7c34df5bbbe2d356b6e43d2f210decce.zip |
whack commons as wanted by ho
-rw-r--r-- | sbin/fsck_ffs/fsck.h | 5 | ||||
-rw-r--r-- | sbin/fsck_ffs/setup.c | 6 |
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) { |