diff options
author | alfred <alfred@FreeBSD.org> | 2002-03-19 22:20:14 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-03-19 22:20:14 +0000 |
commit | 1446d094292532062a83b8dc4587f9b62a6120df (patch) | |
tree | cf7078f9ddebb58cb7cd55dcd736f1f25c75ac7f /sys/fs/umapfs | |
parent | c147e70b997febc0da8565eecf0dabede1ba5f88 (diff) | |
download | FreeBSD-src-1446d094292532062a83b8dc4587f9b62a6120df.zip FreeBSD-src-1446d094292532062a83b8dc4587f9b62a6120df.tar.gz |
Remove __P.
Diffstat (limited to 'sys/fs/umapfs')
-rw-r--r-- | sys/fs/umapfs/umap.h | 10 | ||||
-rw-r--r-- | sys/fs/umapfs/umap_subr.c | 8 | ||||
-rw-r--r-- | sys/fs/umapfs/umap_vfsops.c | 42 | ||||
-rw-r--r-- | sys/fs/umapfs/umap_vnops.c | 16 |
4 files changed, 38 insertions, 38 deletions
diff --git a/sys/fs/umapfs/umap.h b/sys/fs/umapfs/umap.h index eb562ed..6b1e8d7 100644 --- a/sys/fs/umapfs/umap.h +++ b/sys/fs/umapfs/umap.h @@ -72,16 +72,16 @@ struct umap_node { struct vnode *umap_vnode; /* Back pointer to vnode/umap_node */ }; -extern int umapfs_init __P((struct vfsconf *vfsp)); -extern int umap_node_create __P((struct mount *mp, struct vnode *target, struct vnode **vpp)); -extern u_long umap_reverse_findid __P((u_long id, u_long map[][2], int nentries)); -extern void umap_mapids __P((struct mount *v_mount, struct ucred *credp)); +extern int umapfs_init(struct vfsconf *vfsp); +extern int umap_node_create(struct mount *mp, struct vnode *target, struct vnode **vpp); +extern u_long umap_reverse_findid(u_long id, u_long map[][2], int nentries); +extern void umap_mapids(struct mount *v_mount, struct ucred *credp); #define MOUNTTOUMAPMOUNT(mp) ((struct umap_mount *)((mp)->mnt_data)) #define VTOUMAP(vp) ((struct umap_node *)(vp)->v_data) #define UMAPTOV(xp) ((xp)->umap_vnode) #ifdef DIAGNOSTIC -extern struct vnode *umap_checkvp __P((struct vnode *vp, char *fil, int lno)); +extern struct vnode *umap_checkvp(struct vnode *vp, char *fil, int lno); #define UMAPVPTOLOWERVP(vp) umap_checkvp((vp), __FILE__, __LINE__) #else #define UMAPVPTOLOWERVP(vp) (VTOUMAP(vp)->umap_lowervp) diff --git a/sys/fs/umapfs/umap_subr.c b/sys/fs/umapfs/umap_subr.c index 44730bd..02aec89 100644 --- a/sys/fs/umapfs/umap_subr.c +++ b/sys/fs/umapfs/umap_subr.c @@ -64,11 +64,11 @@ static LIST_HEAD(umap_node_hashhead, umap_node) *umap_node_hashtbl; static u_long umap_node_hash; -static u_long umap_findid __P((u_long id, u_long map[][2], int nentries)); -static int umap_node_alloc __P((struct mount *mp, struct vnode *lowervp, - struct vnode **vpp)); +static u_long umap_findid(u_long id, u_long map[][2], int nentries); +static int umap_node_alloc(struct mount *mp, struct vnode *lowervp, + struct vnode **vpp); static struct vnode * - umap_node_find __P((struct mount *mp, struct vnode *targetvp)); + umap_node_find(struct mount *mp, struct vnode *targetvp); /* * Initialise cache headers diff --git a/sys/fs/umapfs/umap_vfsops.c b/sys/fs/umapfs/umap_vfsops.c index 17bfdc1..ebdcf85 100644 --- a/sys/fs/umapfs/umap_vfsops.c +++ b/sys/fs/umapfs/umap_vfsops.c @@ -57,29 +57,29 @@ static MALLOC_DEFINE(M_UMAPFSMNT, "UMAP mount", "UMAP mount structure"); -static int umapfs_fhtovp __P((struct mount *mp, struct fid *fidp, - struct vnode **vpp)); -static int umapfs_checkexp __P((struct mount *mp, struct sockaddr *nam, - int *extflagsp, struct ucred **credanonp)); -static int umapfs_mount __P((struct mount *mp, char *path, caddr_t data, - struct nameidata *ndp, struct thread *td)); -static int umapfs_quotactl __P((struct mount *mp, int cmd, uid_t uid, - caddr_t arg, struct thread *td)); -static int umapfs_root __P((struct mount *mp, struct vnode **vpp)); -static int umapfs_start __P((struct mount *mp, int flags, struct thread *td)); -static int umapfs_statfs __P((struct mount *mp, struct statfs *sbp, - struct thread *td)); -static int umapfs_sync __P((struct mount *mp, int waitfor, - struct ucred *cred, struct thread *td)); -static int umapfs_unmount __P((struct mount *mp, int mntflags, - struct thread *td)); -static int umapfs_vget __P((struct mount *mp, ino_t ino, int flags, - struct vnode **vpp)); -static int umapfs_vptofh __P((struct vnode *vp, struct fid *fhp)); -static int umapfs_extattrctl __P((struct mount *mp, int cmd, +static int umapfs_fhtovp(struct mount *mp, struct fid *fidp, + struct vnode **vpp); +static int umapfs_checkexp(struct mount *mp, struct sockaddr *nam, + int *extflagsp, struct ucred **credanonp); +static int umapfs_mount(struct mount *mp, char *path, caddr_t data, + struct nameidata *ndp, struct thread *td); +static int umapfs_quotactl(struct mount *mp, int cmd, uid_t uid, + caddr_t arg, struct thread *td); +static int umapfs_root(struct mount *mp, struct vnode **vpp); +static int umapfs_start(struct mount *mp, int flags, struct thread *td); +static int umapfs_statfs(struct mount *mp, struct statfs *sbp, + struct thread *td); +static int umapfs_sync(struct mount *mp, int waitfor, + struct ucred *cred, struct thread *td); +static int umapfs_unmount(struct mount *mp, int mntflags, + struct thread *td); +static int umapfs_vget(struct mount *mp, ino_t ino, int flags, + struct vnode **vpp); +static int umapfs_vptofh(struct vnode *vp, struct fid *fhp); +static int umapfs_extattrctl(struct mount *mp, int cmd, struct vnode *filename_vp, int namespace, const char *attrname, - struct thread *td)); + struct thread *td); /* * Mount umap layer diff --git a/sys/fs/umapfs/umap_vnops.c b/sys/fs/umapfs/umap_vnops.c index 77a8a14..14abe0f 100644 --- a/sys/fs/umapfs/umap_vnops.c +++ b/sys/fs/umapfs/umap_vnops.c @@ -58,14 +58,14 @@ static int umap_bug_bypass = 0; /* for debugging: enables bypass printf'ing */ SYSCTL_INT(_debug, OID_AUTO, umapfs_bug_bypass, CTLFLAG_RW, &umap_bug_bypass, 0, ""); -static int umap_bypass __P((struct vop_generic_args *ap)); -static int umap_getattr __P((struct vop_getattr_args *ap)); -static int umap_inactive __P((struct vop_inactive_args *ap)); -static int umap_lock __P((struct vop_lock_args *ap)); -static int umap_print __P((struct vop_print_args *ap)); -static int umap_reclaim __P((struct vop_reclaim_args *ap)); -static int umap_rename __P((struct vop_rename_args *ap)); -static int umap_unlock __P((struct vop_unlock_args *ap)); +static int umap_bypass(struct vop_generic_args *ap); +static int umap_getattr(struct vop_getattr_args *ap); +static int umap_inactive(struct vop_inactive_args *ap); +static int umap_lock(struct vop_lock_args *ap); +static int umap_print(struct vop_print_args *ap); +static int umap_reclaim(struct vop_reclaim_args *ap); +static int umap_rename(struct vop_rename_args *ap); +static int umap_unlock(struct vop_unlock_args *ap); /* * This is the 10-Apr-92 bypass routine. |