summaryrefslogtreecommitdiffstats
path: root/sys/fs/nullfs/null_vfsops.c
diff options
context:
space:
mode:
authorbp <bp@FreeBSD.org>2000-09-05 07:54:39 +0000
committerbp <bp@FreeBSD.org>2000-09-05 07:54:39 +0000
commit7106b8bf8a4049b6fe4ceaaa93f7691fe1be1920 (patch)
tree84a21dac5cf261138aec9a34408ad04476c4cb8a /sys/fs/nullfs/null_vfsops.c
parent81eb6ee3cf8a30f5669bbf89538ad5605f839c63 (diff)
downloadFreeBSD-src-7106b8bf8a4049b6fe4ceaaa93f7691fe1be1920.zip
FreeBSD-src-7106b8bf8a4049b6fe4ceaaa93f7691fe1be1920.tar.gz
Get rid from the __P() macros.
Encouraged by: peter
Diffstat (limited to 'sys/fs/nullfs/null_vfsops.c')
-rw-r--r--sys/fs/nullfs/null_vfsops.c36
1 files changed, 17 insertions, 19 deletions
diff --git a/sys/fs/nullfs/null_vfsops.c b/sys/fs/nullfs/null_vfsops.c
index 43e0e84..754a121 100644
--- a/sys/fs/nullfs/null_vfsops.c
+++ b/sys/fs/nullfs/null_vfsops.c
@@ -56,25 +56,23 @@
static MALLOC_DEFINE(M_NULLFSMNT, "NULLFS mount", "NULLFS mount structure");
-static int nullfs_fhtovp __P((struct mount *mp, struct fid *fidp,
- struct vnode **vpp));
-static int nullfs_checkexp __P((struct mount *mp, struct sockaddr *nam,
- int *extflagsp, struct ucred **credanonp));
-static int nullfs_mount __P((struct mount *mp, char *path, caddr_t data,
- struct nameidata *ndp, struct proc *p));
-static int nullfs_quotactl __P((struct mount *mp, int cmd, uid_t uid,
- caddr_t arg, struct proc *p));
-static int nullfs_root __P((struct mount *mp, struct vnode **vpp));
-static int nullfs_start __P((struct mount *mp, int flags, struct proc *p));
-static int nullfs_statfs __P((struct mount *mp, struct statfs *sbp,
- struct proc *p));
-static int nullfs_sync __P((struct mount *mp, int waitfor,
- struct ucred *cred, struct proc *p));
-static int nullfs_unmount __P((struct mount *mp, int mntflags,
- struct proc *p));
-static int nullfs_vget __P((struct mount *mp, ino_t ino,
- struct vnode **vpp));
-static int nullfs_vptofh __P((struct vnode *vp, struct fid *fhp));
+static int nullfs_fhtovp(struct mount *mp, struct fid *fidp,
+ struct vnode **vpp);
+static int nullfs_checkexp(struct mount *mp, struct sockaddr *nam,
+ int *extflagsp, struct ucred **credanonp);
+static int nullfs_mount(struct mount *mp, char *path, caddr_t data,
+ struct nameidata *ndp, struct proc *p);
+static int nullfs_quotactl(struct mount *mp, int cmd, uid_t uid,
+ caddr_t arg, struct proc *p);
+static int nullfs_root(struct mount *mp, struct vnode **vpp);
+static int nullfs_start(struct mount *mp, int flags, struct proc *p);
+static int nullfs_statfs(struct mount *mp, struct statfs *sbp,
+ struct proc *p);
+static int nullfs_sync(struct mount *mp, int waitfor,
+ struct ucred *cred, struct proc *p);
+static int nullfs_unmount(struct mount *mp, int mntflags, struct proc *p);
+static int nullfs_vget(struct mount *mp, ino_t ino, struct vnode **vpp);
+static int nullfs_vptofh(struct vnode *vp, struct fid *fhp);
/*
* Mount null layer
OpenPOWER on IntegriCloud