Switch from K&R-style C prototypes to ISO/ANSI-style C prototypes.
This commit is contained in:
parent
727ded3a70
commit
066b4c1658
@ -50,11 +50,8 @@ __FBSDID("$FreeBSD$");
|
||||
int getmnt_silent = 0;
|
||||
|
||||
void
|
||||
getmntopts(options, m0, flagp, altflagp)
|
||||
const char *options;
|
||||
const struct mntopt *m0;
|
||||
int *flagp;
|
||||
int *altflagp;
|
||||
getmntopts(const char *options, const struct mntopt *m0, int *flagp,
|
||||
int *altflagp)
|
||||
{
|
||||
const struct mntopt *m;
|
||||
int negative, len;
|
||||
@ -105,9 +102,7 @@ getmntopts(options, m0, flagp, altflagp)
|
||||
}
|
||||
|
||||
void
|
||||
rmslashes(rrpin, rrpout)
|
||||
char *rrpin;
|
||||
char *rrpout;
|
||||
rmslashes(char *rrpin, char *rrpout)
|
||||
{
|
||||
char *rrpoutstart;
|
||||
|
||||
@ -127,9 +122,7 @@ rmslashes(rrpin, rrpout)
|
||||
}
|
||||
|
||||
void
|
||||
checkpath(path, resolved)
|
||||
const char *path;
|
||||
char *resolved;
|
||||
checkpath(const char *path, char *resolved)
|
||||
{
|
||||
struct stat sb;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user