From aae8d53e0ef9821f91d57bef8c62f48d078a9487 Mon Sep 17 00:00:00 2001 From: Mike Pritchard Date: Wed, 12 Feb 1997 14:54:14 +0000 Subject: [PATCH] Add missing function prototypes. --- sys/fs/umapfs/umap.h | 1 + sys/fs/umapfs/umap_vfsops.c | 2 -- sys/fs/umapfs/umap_vnops.c | 4 +++- sys/miscfs/umapfs/umap.h | 1 + sys/miscfs/umapfs/umap_vfsops.c | 2 -- sys/miscfs/umapfs/umap_vnops.c | 4 +++- 6 files changed, 8 insertions(+), 6 deletions(-) diff --git a/sys/fs/umapfs/umap.h b/sys/fs/umapfs/umap.h index 54ae097e1cd4..2b1e5cf66c73 100644 --- a/sys/fs/umapfs/umap.h +++ b/sys/fs/umapfs/umap.h @@ -72,6 +72,7 @@ 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)); diff --git a/sys/fs/umapfs/umap_vfsops.c b/sys/fs/umapfs/umap_vfsops.c index 897e2ce70291..eb6cd17fcf53 100644 --- a/sys/fs/umapfs/umap_vfsops.c +++ b/sys/fs/umapfs/umap_vfsops.c @@ -55,8 +55,6 @@ #include #include -extern int umapfs_init __P((struct vfsconf *)); - static int umapfs_fhtovp __P((struct mount *mp, struct fid *fidp, struct mbuf *nam, struct vnode **vpp, int *exflagsp, struct ucred **credanonp)); diff --git a/sys/fs/umapfs/umap_vnops.c b/sys/fs/umapfs/umap_vnops.c index 17064f4056bb..83e03fe5d529 100644 --- a/sys/fs/umapfs/umap_vnops.c +++ b/sys/fs/umapfs/umap_vnops.c @@ -62,10 +62,12 @@ static int umap_bwrite __P((struct vop_bwrite_args *ap)); 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_strategy __P((struct vop_strategy_args *ap)); +static int umap_unlock __P((struct vop_unlock_args *ap)); /* * This is the 10-Apr-92 bypass routine. @@ -341,7 +343,7 @@ umap_getattr(ap) * interlock flag as it applies only to our vnode, not the * vnodes below us on the stack. */ -int +static int umap_lock(ap) struct vop_lock_args /* { struct vnode *a_vp; diff --git a/sys/miscfs/umapfs/umap.h b/sys/miscfs/umapfs/umap.h index 54ae097e1cd4..2b1e5cf66c73 100644 --- a/sys/miscfs/umapfs/umap.h +++ b/sys/miscfs/umapfs/umap.h @@ -72,6 +72,7 @@ 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)); diff --git a/sys/miscfs/umapfs/umap_vfsops.c b/sys/miscfs/umapfs/umap_vfsops.c index 897e2ce70291..eb6cd17fcf53 100644 --- a/sys/miscfs/umapfs/umap_vfsops.c +++ b/sys/miscfs/umapfs/umap_vfsops.c @@ -55,8 +55,6 @@ #include #include -extern int umapfs_init __P((struct vfsconf *)); - static int umapfs_fhtovp __P((struct mount *mp, struct fid *fidp, struct mbuf *nam, struct vnode **vpp, int *exflagsp, struct ucred **credanonp)); diff --git a/sys/miscfs/umapfs/umap_vnops.c b/sys/miscfs/umapfs/umap_vnops.c index 17064f4056bb..83e03fe5d529 100644 --- a/sys/miscfs/umapfs/umap_vnops.c +++ b/sys/miscfs/umapfs/umap_vnops.c @@ -62,10 +62,12 @@ static int umap_bwrite __P((struct vop_bwrite_args *ap)); 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_strategy __P((struct vop_strategy_args *ap)); +static int umap_unlock __P((struct vop_unlock_args *ap)); /* * This is the 10-Apr-92 bypass routine. @@ -341,7 +343,7 @@ umap_getattr(ap) * interlock flag as it applies only to our vnode, not the * vnodes below us on the stack. */ -int +static int umap_lock(ap) struct vop_lock_args /* { struct vnode *a_vp;