summaryrefslogtreecommitdiffstats
path: root/sys/fs/nwfs/nwfs_vfsops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/nwfs/nwfs_vfsops.c')
-rw-r--r--sys/fs/nwfs/nwfs_vfsops.c29
1 files changed, 13 insertions, 16 deletions
diff --git a/sys/fs/nwfs/nwfs_vfsops.c b/sys/fs/nwfs/nwfs_vfsops.c
index 7be59e9..563911b 100644
--- a/sys/fs/nwfs/nwfs_vfsops.c
+++ b/sys/fs/nwfs/nwfs_vfsops.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, Boris Popov
+ * Copyright (c) 1999, 2000 Boris Popov
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -69,19 +69,16 @@ SYSCTL_INT(_vfs_nwfs, OID_AUTO, debuglevel, CTLFLAG_RW, &nwfs_debuglevel, 0, "")
MODULE_DEPEND(nwfs, ncp, 1, 1, 1);
-static int nwfs_mount __P((struct mount *, char *, caddr_t,
- struct nameidata *, struct proc *));
-static int nwfs_quotactl __P((struct mount *, int, uid_t, caddr_t,
- struct proc *));
-static int nwfs_root __P((struct mount *, struct vnode **));
-static int nwfs_start __P((struct mount *, int, struct proc *));
-static int nwfs_statfs __P((struct mount *, struct statfs *,
- struct proc *));
-static int nwfs_sync __P((struct mount *, int, struct ucred *,
- struct proc *));
-static int nwfs_unmount __P((struct mount *, int, struct proc *));
-static int nwfs_init __P((struct vfsconf *vfsp));
-static int nwfs_uninit __P((struct vfsconf *vfsp));
+static int nwfs_mount(struct mount *, char *, caddr_t,
+ struct nameidata *, struct proc *);
+static int nwfs_quotactl(struct mount *, int, uid_t, caddr_t, struct proc *);
+static int nwfs_root(struct mount *, struct vnode **);
+static int nwfs_start(struct mount *, int, struct proc *);
+static int nwfs_statfs(struct mount *, struct statfs *, struct proc *);
+static int nwfs_sync(struct mount *, int, struct ucred *, struct proc *);
+static int nwfs_unmount(struct mount *, int, struct proc *);
+static int nwfs_init(struct vfsconf *vfsp);
+static int nwfs_uninit(struct vfsconf *vfsp);
static struct vfsops nwfs_vfsops = {
nwfs_mount,
@@ -446,7 +443,7 @@ nwfs_uninit(struct vfsconf *vfsp)
int
nwfs_statfs(mp, sbp, p)
struct mount *mp;
- register struct statfs *sbp;
+ struct statfs *sbp;
struct proc *p;
{
struct nwmount *nmp = VFSTONWFS(mp);
@@ -496,7 +493,7 @@ nwfs_sync(mp, waitfor, cred, p)
struct ucred *cred;
struct proc *p;
{
- register struct vnode *vp;
+ struct vnode *vp;
int error, allerror = 0;
/*
* Force stale buffer cache information to be flushed.
OpenPOWER on IntegriCloud