summaryrefslogtreecommitdiff
path: root/sbin/mount
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
commit6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch)
treeee423c619fad03813234b9362694a17f3a638f0b /sbin/mount
parentc707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff)
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'sbin/mount')
-rw-r--r--sbin/mount/mntopts.h4
-rw-r--r--sbin/mount/mount.c22
2 files changed, 13 insertions, 13 deletions
diff --git a/sbin/mount/mntopts.h b/sbin/mount/mntopts.h
index 890fde93e0a..eebb6115df1 100644
--- a/sbin/mount/mntopts.h
+++ b/sbin/mount/mntopts.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mntopts.h,v 1.7 2001/04/04 20:19:00 gluk Exp $ */
+/* $OpenBSD: mntopts.h,v 1.8 2002/02/16 21:27:35 millert Exp $ */
/* $NetBSD: mntopts.h,v 1.3 1995/03/18 14:56:59 cgd Exp $ */
/*-
@@ -86,4 +86,4 @@ struct mntopt {
MOPT_RDONLY, \
MOPT_UNION
-void getmntopts __P((const char *, const struct mntopt *, int *));
+void getmntopts(const char *, const struct mntopt *, int *);
diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c
index dc543569320..36f9bc80214 100644
--- a/sbin/mount/mount.c
+++ b/sbin/mount/mount.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mount.c,v 1.24 2002/01/18 01:37:27 mickey Exp $ */
+/* $OpenBSD: mount.c,v 1.25 2002/02/16 21:27:35 millert Exp $ */
/* $NetBSD: mount.c,v 1.24 1995/11/18 03:34:29 cgd Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)mount.c 8.19 (Berkeley) 4/19/94";
#else
-static char rcsid[] = "$OpenBSD: mount.c,v 1.24 2002/01/18 01:37:27 mickey Exp $";
+static char rcsid[] = "$OpenBSD: mount.c,v 1.25 2002/02/16 21:27:35 millert Exp $";
#endif
#endif /* not lint */
@@ -75,18 +75,18 @@ static char rcsid[] = "$OpenBSD: mount.c,v 1.24 2002/01/18 01:37:27 mickey Exp $
int debug, verbose;
char **typelist = NULL;
-int selected __P((const char *));
-char *catopt __P((char *, const char *));
+int selected(const char *);
+char *catopt(char *, const char *);
struct statfs
- *getmntpt __P((const char *));
-int hasopt __P((const char *, const char *));
-void maketypelist __P((char *));
-void mangle __P((char *, int *, const char **));
+ *getmntpt(const char *);
+int hasopt(const char *, const char *);
+void maketypelist(char *);
+void mangle(char *, int *, const char **);
int mountfs __P((const char *, const char *, const char *,
int, const char *, const char *, int));
-void prmount __P((struct statfs *));
-int disklabelcheck __P((struct fstab *));
-void usage __P((void));
+void prmount(struct statfs *);
+int disklabelcheck(struct fstab *);
+void usage(void);
/* Map from mount options to printable formats. */
static struct opt {