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; int getmnt_silent = 0;
void void
getmntopts(options, m0, flagp, altflagp) getmntopts(const char *options, const struct mntopt *m0, int *flagp,
const char *options; int *altflagp)
const struct mntopt *m0;
int *flagp;
int *altflagp;
{ {
const struct mntopt *m; const struct mntopt *m;
int negative, len; int negative, len;
@ -105,9 +102,7 @@ getmntopts(options, m0, flagp, altflagp)
} }
void void
rmslashes(rrpin, rrpout) rmslashes(char *rrpin, char *rrpout)
char *rrpin;
char *rrpout;
{ {
char *rrpoutstart; char *rrpoutstart;
@ -127,9 +122,7 @@ rmslashes(rrpin, rrpout)
} }
void void
checkpath(path, resolved) checkpath(const char *path, char *resolved)
const char *path;
char *resolved;
{ {
struct stat sb; struct stat sb;