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_nfs | |
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_nfs')
-rw-r--r-- | sbin/mount_nfs/mntopts.h | 4 | ||||
-rw-r--r-- | sbin/mount_nfs/mount_nfs.c | 14 |
2 files changed, 9 insertions, 9 deletions
diff --git a/sbin/mount_nfs/mntopts.h b/sbin/mount_nfs/mntopts.h index 8b98770c42a..2e85b063150 100644 --- a/sbin/mount_nfs/mntopts.h +++ b/sbin/mount_nfs/mntopts.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mntopts.h,v 1.1 1996/03/21 00:16:00 niklas Exp $ */ +/* $OpenBSD: mntopts.h,v 1.2 2002/02/16 21:27:36 millert Exp $ */ /*- * Copyright (c) 1994 @@ -78,5 +78,5 @@ struct mntopt { MOPT_RDONLY, \ MOPT_UNION -void getmntopts __P((const char *, const struct mntopt *, int *, int *)); +void getmntopts(const char *, const struct mntopt *, int *, int *); extern int getmnt_silent; diff --git a/sbin/mount_nfs/mount_nfs.c b/sbin/mount_nfs/mount_nfs.c index eb044a04a33..b0a79acb195 100644 --- a/sbin/mount_nfs/mount_nfs.c +++ b/sbin/mount_nfs/mount_nfs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mount_nfs.c,v 1.26 2001/12/01 19:13:48 deraadt Exp $ */ +/* $OpenBSD: mount_nfs.c,v 1.27 2002/02/16 21:27:36 millert Exp $ */ /* $NetBSD: mount_nfs.c,v 1.12.4.1 1996/05/25 22:48:05 fvdl Exp $ */ /* @@ -168,14 +168,14 @@ u_short port_no = 0; int force2 = 0; int force3 = 0; -int getnfsargs __P((char *, struct nfs_args *)); +int getnfsargs(char *, struct nfs_args *); #ifdef ISO -struct iso_addr *iso_addr __P((const char *)); +struct iso_addr *iso_addr(const char *); #endif -void set_rpc_maxgrouplist __P((int)); -__dead void usage __P((void)); -int xdr_dir __P((XDR *, char *)); -int xdr_fh __P((XDR *, struct nfhret *)); +void set_rpc_maxgrouplist(int); +__dead void usage(void); +int xdr_dir(XDR *, char *); +int xdr_fh(XDR *, struct nfhret *); int main(argc, argv) |