From 120c3c211a8089f3738404796935729d10069e44 Mon Sep 17 00:00:00 2001 From: imp Date: Wed, 20 Mar 2002 22:57:10 +0000 Subject: o __P removed o ansi function prototypes o unifdef -D__STDC__ o __dead2 on usage prototype o remove now-bogus main prototype --- sbin/fsck_ffs/pass1.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'sbin/fsck_ffs/pass1.c') 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; -- cgit v1.1