diff options
author | Grigoriy Orlov <gluk@cvs.openbsd.org> | 2002-08-23 09:09:05 +0000 |
---|---|---|
committer | Grigoriy Orlov <gluk@cvs.openbsd.org> | 2002-08-23 09:09:05 +0000 |
commit | c4708f1b3aac4f8d7034f5e5fdb7bf3475d7e7a9 (patch) | |
tree | 18a789468ee8b6162b6152cc9b5ffe1adcd9d829 /sbin/fsck_ffs/pass5.c | |
parent | aa5287bbf32c33d0ba2329ad1e640e84326707c3 (diff) |
- Convert function definitions to new style
- eliminate trailing whitespace
- remove casts that aren't needed.
- make rcsid strings const, for -Wall compilation.
from tedu <grendel@zeitbombe.org>
Diffstat (limited to 'sbin/fsck_ffs/pass5.c')
-rw-r--r-- | sbin/fsck_ffs/pass5.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sbin/fsck_ffs/pass5.c b/sbin/fsck_ffs/pass5.c index c86577b6f6d..41f332baa9f 100644 --- a/sbin/fsck_ffs/pass5.c +++ b/sbin/fsck_ffs/pass5.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pass5.c,v 1.14 2001/12/01 19:04:41 deraadt Exp $ */ +/* $OpenBSD: pass5.c,v 1.15 2002/08/23 09:09:04 gluk Exp $ */ /* $NetBSD: pass5.c,v 1.16 1996/09/27 22:45:18 christos Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)pass5.c 8.6 (Berkeley) 11/30/94"; #else -static char rcsid[] = "$OpenBSD: pass5.c,v 1.14 2001/12/01 19:04:41 deraadt Exp $"; +static const char rcsid[] = "$OpenBSD: pass5.c,v 1.15 2002/08/23 09:09:04 gluk Exp $"; #endif #endif /* not lint */ @@ -62,15 +62,13 @@ static int info_cg; static int info_maxcg; static int -pass5_info(buf, buflen) - char *buf; - int buflen; +pass5_info(char *buf, int buflen) { return snprintf(buf, buflen, "phase 5, cg %d/%d", info_cg, info_maxcg); } void -pass5() +pass5(void) { int c, blk, frags, basesize, sumsize, mapsize, savednrpos=0; int inomapsize, blkmapsize; |