diff options
author | assar <assar@cvs.openbsd.org> | 2001-02-20 01:50:13 +0000 |
---|---|---|
committer | assar <assar@cvs.openbsd.org> | 2001-02-20 01:50:13 +0000 |
commit | 86744021bc298d5866b29e263475344195783db9 (patch) | |
tree | 4597652b33597dfa91cc159a1949ece9abb1d59e /sys/nfs | |
parent | 65f9ace72306ea33faaac257ca07de20597cee44 (diff) |
use void * consistently in vfs_mount and sys_mount. ok @art
Diffstat (limited to 'sys/nfs')
-rw-r--r-- | sys/nfs/nfs_vfsops.c | 6 | ||||
-rw-r--r-- | sys/nfs/nfsmount.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/nfs/nfs_vfsops.c b/sys/nfs/nfs_vfsops.c index 9b4ce097747..3640ed142e4 100644 --- a/sys/nfs/nfs_vfsops.c +++ b/sys/nfs/nfs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_vfsops.c,v 1.31 2000/05/19 16:36:04 mickey Exp $ */ +/* $OpenBSD: nfs_vfsops.c,v 1.32 2001/02/20 01:50:11 assar Exp $ */ /* $NetBSD: nfs_vfsops.c,v 1.46.4.1 1996/05/25 22:40:35 fvdl Exp $ */ /* @@ -601,7 +601,7 @@ int nfs_mount(mp, path, data, ndp, p) struct mount *mp; const char *path; - caddr_t data; + void *data; struct nameidata *ndp; struct proc *p; { @@ -613,7 +613,7 @@ nfs_mount(mp, path, data, ndp, p) size_t len; u_char nfh[NFSX_V3FHMAX]; - error = copyin (data, (caddr_t)&args, sizeof (args.version)); + error = copyin (data, &args, sizeof (args.version)); if (error) return (error); if (args.version == 3) { diff --git a/sys/nfs/nfsmount.h b/sys/nfs/nfsmount.h index 847aa753f1a..6713c6a9f6f 100644 --- a/sys/nfs/nfsmount.h +++ b/sys/nfs/nfsmount.h @@ -1,4 +1,4 @@ -/* $OpenBSD: nfsmount.h,v 1.7 2000/02/07 04:57:17 assar Exp $ */ +/* $OpenBSD: nfsmount.h,v 1.8 2001/02/20 01:50:11 assar Exp $ */ /* $NetBSD: nfsmount.h,v 1.10 1996/02/18 11:54:03 fvdl Exp $ */ /* @@ -101,7 +101,7 @@ struct nfsmount { /* * Prototypes for NFS mount operations */ -int nfs_mount __P((struct mount *mp, const char *path, caddr_t data, +int nfs_mount __P((struct mount *mp, const char *path, void *data, struct nameidata *ndp, struct proc *p)); int mountnfs __P((struct nfs_args *argp, struct mount *mp, struct mbuf *nam, char *pth, char *hst, struct vnode **vpp)); |