summaryrefslogtreecommitdiffstats
path: root/sys/fs/portalfs
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-03-19 22:20:14 +0000
committeralfred <alfred@FreeBSD.org>2002-03-19 22:20:14 +0000
commit1446d094292532062a83b8dc4587f9b62a6120df (patch)
treecf7078f9ddebb58cb7cd55dcd736f1f25c75ac7f /sys/fs/portalfs
parentc147e70b997febc0da8565eecf0dabede1ba5f88 (diff)
downloadFreeBSD-src-1446d094292532062a83b8dc4587f9b62a6120df.zip
FreeBSD-src-1446d094292532062a83b8dc4587f9b62a6120df.tar.gz
Remove __P.
Diffstat (limited to 'sys/fs/portalfs')
-rw-r--r--sys/fs/portalfs/portal_vfsops.c14
-rw-r--r--sys/fs/portalfs/portal_vnops.c18
2 files changed, 16 insertions, 16 deletions
diff --git a/sys/fs/portalfs/portal_vfsops.c b/sys/fs/portalfs/portal_vfsops.c
index 258f509..c0f4022 100644
--- a/sys/fs/portalfs/portal_vfsops.c
+++ b/sys/fs/portalfs/portal_vfsops.c
@@ -62,13 +62,13 @@
static MALLOC_DEFINE(M_PORTALFSMNT, "PORTAL mount", "PORTAL mount structure");
-static int portal_mount __P((struct mount *mp, char *path, caddr_t data,
- struct nameidata *ndp, struct thread *td));
-static int portal_unmount __P((struct mount *mp, int mntflags,
- struct thread *td));
-static int portal_root __P((struct mount *mp, struct vnode **vpp));
-static int portal_statfs __P((struct mount *mp, struct statfs *sbp,
- struct thread *td));
+static int portal_mount(struct mount *mp, char *path, caddr_t data,
+ struct nameidata *ndp, struct thread *td);
+static int portal_unmount(struct mount *mp, int mntflags,
+ struct thread *td);
+static int portal_root(struct mount *mp, struct vnode **vpp);
+static int portal_statfs(struct mount *mp, struct statfs *sbp,
+ struct thread *td);
/*
* Mount the per-process file descriptors (/dev/fd)
diff --git a/sys/fs/portalfs/portal_vnops.c b/sys/fs/portalfs/portal_vnops.c
index 934cf97..b345c57 100644
--- a/sys/fs/portalfs/portal_vnops.c
+++ b/sys/fs/portalfs/portal_vnops.c
@@ -65,15 +65,15 @@
static int portal_fileid = PORTAL_ROOTFILEID+1;
-static void portal_closefd __P((struct thread *td, int fd));
-static int portal_connect __P((struct socket *so, struct socket *so2));
-static int portal_getattr __P((struct vop_getattr_args *ap));
-static int portal_lookup __P((struct vop_lookup_args *ap));
-static int portal_open __P((struct vop_open_args *ap));
-static int portal_print __P((struct vop_print_args *ap));
-static int portal_readdir __P((struct vop_readdir_args *ap));
-static int portal_reclaim __P((struct vop_reclaim_args *ap));
-static int portal_setattr __P((struct vop_setattr_args *ap));
+static void portal_closefd(struct thread *td, int fd);
+static int portal_connect(struct socket *so, struct socket *so2);
+static int portal_getattr(struct vop_getattr_args *ap);
+static int portal_lookup(struct vop_lookup_args *ap);
+static int portal_open(struct vop_open_args *ap);
+static int portal_print(struct vop_print_args *ap);
+static int portal_readdir(struct vop_readdir_args *ap);
+static int portal_reclaim(struct vop_reclaim_args *ap);
+static int portal_setattr(struct vop_setattr_args *ap);
static void
portal_closefd(td, fd)
OpenPOWER on IntegriCloud