mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-24 10:52:36 +01:00
Add missing function prototypes.
This commit is contained in:
parent
938958b97f
commit
aae8d53e0e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22596
@ -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));
|
||||
|
@ -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));
|
||||
|
@ -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;
|
||||
|
@ -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));
|
||||
|
@ -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));
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user