diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-07-02 21:44:59 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-07-02 21:44:59 +0000 |
commit | 8eb238d6dc0d517861283e95c1991e069cd19098 (patch) | |
tree | 24c2800610a3469eb0c5fb87bd1d9da9705feb51 /sbin/newfs | |
parent | db47935015998dfa065177216552df596183c359 (diff) |
missing protos
Diffstat (limited to 'sbin/newfs')
-rw-r--r-- | sbin/newfs/mkfs.c | 7 | ||||
-rw-r--r-- | sbin/newfs/newfs.c | 6 |
2 files changed, 6 insertions, 7 deletions
diff --git a/sbin/newfs/mkfs.c b/sbin/newfs/mkfs.c index 60b50585e81..91680d704fc 100644 --- a/sbin/newfs/mkfs.c +++ b/sbin/newfs/mkfs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mkfs.c,v 1.30 2003/06/25 21:24:10 deraadt Exp $ */ +/* $OpenBSD: mkfs.c,v 1.31 2003/07/02 21:44:58 deraadt Exp $ */ /* $NetBSD: mkfs.c,v 1.25 1995/06/18 21:35:38 cgd Exp $ */ /* @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)mkfs.c 8.3 (Berkeley) 2/3/94"; #else -static char rcsid[] = "$OpenBSD: mkfs.c,v 1.30 2003/06/25 21:24:10 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: mkfs.c,v 1.31 2003/07/02 21:44:58 deraadt Exp $"; #endif #endif /* not lint */ @@ -136,6 +136,7 @@ void setblock(struct fs *, unsigned char *, int); void clrblock(struct fs *, unsigned char *, int); int isblock(struct fs *, unsigned char *, int); void rdfs(daddr_t, int, void *); +void mkfs(struct partition *pp, char *fsys, int fi, int fo); void mkfs(struct partition *pp, char *fsys, int fi, int fo) @@ -145,8 +146,6 @@ mkfs(struct partition *pp, char *fsys, int fi, int fo) long used, mincpgcnt, bpcg; long mapcramped, inodecramped; long postblsize, rotblsize, totalsbsize; - pid_t ppid = -1; - int status; time_t utime; quad_t sizepb; int width; diff --git a/sbin/newfs/newfs.c b/sbin/newfs/newfs.c index 4d2cdf7a042..3694c823e72 100644 --- a/sbin/newfs/newfs.c +++ b/sbin/newfs/newfs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: newfs.c,v 1.42 2003/06/25 21:24:10 deraadt Exp $ */ +/* $OpenBSD: newfs.c,v 1.43 2003/07/02 21:44:58 deraadt Exp $ */ /* $NetBSD: newfs.c,v 1.20 1996/05/16 07:13:03 thorpej Exp $ */ /* @@ -40,7 +40,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)newfs.c 8.8 (Berkeley) 4/18/94"; #else -static char rcsid[] = "$OpenBSD: newfs.c,v 1.42 2003/06/25 21:24:10 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: newfs.c,v 1.43 2003/07/02 21:44:58 deraadt Exp $"; #endif #endif /* not lint */ @@ -186,6 +186,7 @@ int unlabeled; char device[MAXPATHLEN]; extern char *__progname; +struct disklabel *getdisklabel(char *, int); int main(int argc, char *argv[]) @@ -194,7 +195,6 @@ main(int argc, char *argv[]) struct partition *pp; struct disklabel *lp; struct disklabel mfsfakelabel; - struct disklabel *getdisklabel(char *, int); struct partition oldpartition; struct stat st; struct statfs *mp; |