summaryrefslogtreecommitdiffstats
path: root/sbin/mount/mount.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-03-21 13:14:21 +0000
committerimp <imp@FreeBSD.org>2002-03-21 13:14:21 +0000
commitbaca1664d961625b631ee7b6c1faf55e0f926aa9 (patch)
treecf03a665e09244d20cbc38b337d5cd22ba2bfd30 /sbin/mount/mount.c
parent611240d8bc587f7f5915144254d2e6b3bd93d782 (diff)
downloadFreeBSD-src-baca1664d961625b631ee7b6c1faf55e0f926aa9.zip
FreeBSD-src-baca1664d961625b631ee7b6c1faf55e0f926aa9.tar.gz
o __P removed
o main prototype removed
Diffstat (limited to 'sbin/mount/mount.c')
-rw-r--r--sbin/mount/mount.c29
1 files changed, 14 insertions, 15 deletions
diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c
index 9648eaa..3494d9c 100644
--- a/sbin/mount/mount.c
+++ b/sbin/mount/mount.c
@@ -70,21 +70,20 @@ static const char rcsid[] =
int debug, fstab_style, verbose;
-char *catopt __P((char *, const char *));
-struct statfs
- *getmntpt __P((const char *));
-int hasopt __P((const char *, const char *));
-int ismounted __P((struct fstab *, struct statfs *, int));
-int isremountable __P((const char *));
-void mangle __P((char *, int *, const char **));
-char *update_options __P((char *, char *, int));
-int mountfs __P((const char *, const char *, const char *,
- int, const char *, const char *));
-void remopt __P((char *, const char *));
-void prmount __P((struct statfs *));
-void putfsent __P((const struct statfs *));
-void usage __P((void));
-char *flags2opts __P((int));
+char *catopt(char *, const char *);
+struct statfs *getmntpt(const char *);
+int hasopt(const char *, const char *);
+int ismounted(struct fstab *, struct statfs *, int);
+int isremountable(const char *);
+void mangle(char *, int *, const char **);
+char *update_options(char *, char *, int);
+int mountfs(const char *, const char *, const char *,
+ int, const char *, const char *);
+void remopt(char *, const char *);
+void prmount(struct statfs *);
+void putfsent(const struct statfs *);
+void usage(void);
+char *flags2opts(int);
/* Map from mount options to printable formats. */
static struct opt {
OpenPOWER on IntegriCloud