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/pass5.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/pass5.c')
-rw-r--r-- | sbin/fsck_ffs/pass5.c | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/sbin/fsck_ffs/pass5.c b/sbin/fsck_ffs/pass5.c index 5102673..e927ff5 100644 --- a/sbin/fsck_ffs/pass5.c +++ b/sbin/fsck_ffs/pass5.c @@ -50,11 +50,10 @@ static const char rcsid[] = #include "fsck.h" -static void check_maps __P((u_char *, u_char *, int, int, char *, int *, - int, int)); +static void check_maps(u_char *, u_char *, int, int, char *, int *, int, int); void -pass5() +pass5(void) { int c, blk, frags, basesize, sumsize, mapsize, savednrpos = 0; int inomapsize, blkmapsize; @@ -363,21 +362,21 @@ pass5() } static void -check_maps(map1, map2, mapsize, startvalue, name, opcode, skip, limit) - u_char *map1; /* map of claimed allocations */ - u_char *map2; /* map of determined allocations */ - int mapsize; /* size of above two maps */ - int startvalue; /* resource value for first element in map */ - char *name; /* name of resource found in maps */ - int *opcode; /* sysctl opcode to free resource */ - int skip; /* number of entries to skip before starting to free */ - int limit; /* limit on number of entries to free */ +check_maps( + u_char *map1, /* map of claimed allocations */ + u_char *map2, /* map of determined allocations */ + int mapsize, /* size of above two maps */ + int startvalue, /* resource value for first element in map */ + char *name, /* name of resource found in maps */ + int *opcode, /* sysctl opcode to free resource */ + int skip, /* number of entries to skip before starting to free */ + int limit) /* limit on number of entries to free */ { # define BUFSIZE 16 char buf[BUFSIZE]; long i, j, k, l, m, n, size; int astart, aend, ustart, uend; - void (*msg) __P((const char *fmt, ...)); + void (*msg)(const char *fmt, ...); if (bkgrdflag) msg = pfatal; |