summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2005-10-07 06:39:08 +0000
committerrodrigc <rodrigc@FreeBSD.org>2005-10-07 06:39:08 +0000
commitf2f10c60682fb4fa2cd2e4bfda7a9ecdb07b7a56 (patch)
treec04e6b32238f9164dfad654e7636a5ca30283e7f /sbin
parent3071819ef61fd9706037689dcf62576a745bb1c4 (diff)
downloadFreeBSD-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')
-rw-r--r--sbin/mount/getmntopts.c15
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;
OpenPOWER on IntegriCloud