mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 14:48:57 +00:00
o Use real prototypes and ANSI function definitions.
o Remove __P.
This commit is contained in:
parent
bbbc97356c
commit
323e7ff82e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=92538
@ -87,8 +87,8 @@ long dev_bsize = 1;
|
||||
|
||||
char buf[MAXBSIZE];
|
||||
|
||||
void rdfs __P((daddr_t, int, char *));
|
||||
int chkuse __P((daddr_t, int));
|
||||
void rdfs(daddr_t, int, char *);
|
||||
int chkuse(daddr_t, int);
|
||||
|
||||
static void
|
||||
usage(void)
|
||||
@ -98,9 +98,7 @@ usage(void)
|
||||
}
|
||||
|
||||
int
|
||||
main(argc, argv)
|
||||
int argc;
|
||||
char *argv[];
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
daddr_t diskbn;
|
||||
daddr_t number;
|
||||
@ -163,9 +161,7 @@ main(argc, argv)
|
||||
}
|
||||
|
||||
int
|
||||
chkuse(blkno, cnt)
|
||||
daddr_t blkno;
|
||||
int cnt;
|
||||
chkuse(daddr_t blkno, int cnt)
|
||||
{
|
||||
int cg;
|
||||
daddr_t fsbn, bn;
|
||||
@ -206,10 +202,7 @@ chkuse(blkno, cnt)
|
||||
* read a block from the file system
|
||||
*/
|
||||
void
|
||||
rdfs(bno, size, bf)
|
||||
daddr_t bno;
|
||||
int size;
|
||||
char *bf;
|
||||
rdfs(daddr_t bno, int size, char *bf)
|
||||
{
|
||||
int n;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user