diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2005-10-07 06:39:08 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2005-10-07 06:39:08 +0000 |
commit | f2f10c60682fb4fa2cd2e4bfda7a9ecdb07b7a56 (patch) | |
tree | c04e6b32238f9164dfad654e7636a5ca30283e7f /sbin/mount | |
parent | 3071819ef61fd9706037689dcf62576a745bb1c4 (diff) | |
download | FreeBSD-src-f2f10c60682fb4fa2cd2e4bfda7a9ecdb07b7a56.zip FreeBSD-src-f2f10c60682fb4fa2cd2e4bfda7a9ecdb07b7a56.tar.gz |
Switch from K&R-style C prototypes to ISO/ANSI-style C prototypes.
Diffstat (limited to 'sbin/mount')
-rw-r--r-- | sbin/mount/getmntopts.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/sbin/mount/getmntopts.c b/sbin/mount/getmntopts.c index d0880f9..ba35b3e 100644 --- a/sbin/mount/getmntopts.c +++ b/sbin/mount/getmntopts.c @@ -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; |