diff options
author | mpp <mpp@FreeBSD.org> | 1997-02-12 14:54:14 +0000 |
---|---|---|
committer | mpp <mpp@FreeBSD.org> | 1997-02-12 14:54:14 +0000 |
commit | 229d4868f7ce2feaa5ac667210bf71b2a2949294 (patch) | |
tree | e00de74688ccc7469d010dc000aa4c2eb600b3f9 /sys/fs/umapfs | |
parent | 21b8e34614fcb74517299b7fc1d8d9806b286f4c (diff) | |
download | FreeBSD-src-229d4868f7ce2feaa5ac667210bf71b2a2949294.zip FreeBSD-src-229d4868f7ce2feaa5ac667210bf71b2a2949294.tar.gz |
Add missing function prototypes.
Diffstat (limited to 'sys/fs/umapfs')
-rw-r--r-- | sys/fs/umapfs/umap.h | 1 | ||||
-rw-r--r-- | sys/fs/umapfs/umap_vfsops.c | 2 | ||||
-rw-r--r-- | sys/fs/umapfs/umap_vnops.c | 4 |
3 files changed, 4 insertions, 3 deletions
diff --git a/sys/fs/umapfs/umap.h b/sys/fs/umapfs/umap.h index 54ae097..2b1e5cf 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 897e2ce..eb6cd17 100644 --- a/sys/fs/umapfs/umap_vfsops.c +++ b/sys/fs/umapfs/umap_vfsops.c @@ -55,8 +55,6 @@ #include <sys/malloc.h> #include <miscfs/umapfs/umap.h> -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 17064f4..83e03fe 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; |