diff options
Diffstat (limited to 'sbin/fsck_ffs/pass2.c')
-rw-r--r-- | sbin/fsck_ffs/pass2.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/sbin/fsck_ffs/pass2.c b/sbin/fsck_ffs/pass2.c index b46c3e1..838dcb7 100644 --- a/sbin/fsck_ffs/pass2.c +++ b/sbin/fsck_ffs/pass2.c @@ -52,11 +52,11 @@ static const char rcsid[] = #define MINDIRSIZE (sizeof (struct dirtemplate)) -static int blksort __P((const void *, const void *)); -static int pass2check __P((struct inodesc *)); +static int blksort(const void *, const void *); +static int pass2check(struct inodesc *); void -pass2() +pass2(void) { struct dinode *dp; struct inoinfo **inpp, *inp; @@ -220,8 +220,7 @@ pass2() } static int -pass2check(idesc) - struct inodesc *idesc; +pass2check(struct inodesc *idesc) { struct direct *dirp = idesc->id_dirp; struct inoinfo *inp; @@ -488,8 +487,7 @@ again: * Routine to sort disk blocks. */ static int -blksort(arg1, arg2) - const void *arg1, *arg2; +blksort(const void *arg1, const void *arg2) { return ((*(struct inoinfo **)arg1)->i_blks[0] - |