diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-16 21:28:12 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-16 21:28:12 +0000 |
commit | 6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch) | |
tree | ee423c619fad03813234b9362694a17f3a638f0b /sbin/mount/mount.c | |
parent | c707cb295fc3cac8d8feb343e949e0dcf71b8476 (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/mount.c')
-rw-r--r-- | sbin/mount/mount.c | 22 |
1 files changed, 11 insertions, 11 deletions
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 { |