Switch from K&R-style C prototypes to ISO/ANSI-style C prototypes.

This commit is contained in:
Craig Rodrigues 2005-10-07 06:39:08 +00:00
parent 727ded3a70
commit 066b4c1658
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=151048

View File

@ -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;