diff options
author | imp <imp@FreeBSD.org> | 2002-03-20 22:57:10 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-03-20 22:57:10 +0000 |
commit | 120c3c211a8089f3738404796935729d10069e44 (patch) | |
tree | b0afc6442896204ba707723c961e59b4de37a932 /sbin/fsck_ffs/pass1.c | |
parent | 90c76cbe1ef31e40c4b9b9cd46731d2716307ef0 (diff) | |
download | FreeBSD-src-120c3c211a8089f3738404796935729d10069e44.zip FreeBSD-src-120c3c211a8089f3738404796935729d10069e44.tar.gz |
o __P removed
o ansi function prototypes
o unifdef -D__STDC__
o __dead2 on usage prototype
o remove now-bogus main prototype
Diffstat (limited to 'sbin/fsck_ffs/pass1.c')
-rw-r--r-- | sbin/fsck_ffs/pass1.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/sbin/fsck_ffs/pass1.c b/sbin/fsck_ffs/pass1.c index 58dfc47..e3fd6ea 100644 --- a/sbin/fsck_ffs/pass1.c +++ b/sbin/fsck_ffs/pass1.c @@ -56,10 +56,10 @@ static ufs_daddr_t badblk; static ufs_daddr_t dupblk; static ino_t lastino; /* last inode in use */ -static void checkinode __P((ino_t inumber, struct inodesc *)); +static void checkinode(ino_t inumber, struct inodesc *); void -pass1() +pass1(void) { u_int8_t *cp; ino_t inumber; @@ -178,9 +178,7 @@ pass1() } static void -checkinode(inumber, idesc) - ino_t inumber; - struct inodesc *idesc; +checkinode(ino_t inumber, struct inodesc *idesc) { struct dinode *dp; struct zlncnt *zlnp; @@ -374,8 +372,7 @@ unknown: } int -pass1check(idesc) - struct inodesc *idesc; +pass1check(struct inodesc *idesc) { int res = KEEPON; int anyout, nfrags; |