Make swaponvp() static to the swap_pager.

This commit is contained in:
Poul-Henning Kamp 2003-08-15 12:04:29 +00:00
parent 0bddf4c8e9
commit 89dc784fa3
2 changed files with 2 additions and 2 deletions

View File

@ -254,6 +254,7 @@ SYSCTL_INT(_vm, OID_AUTO, dmmax,
static void swp_sizecheck(void);
static void swp_pager_sync_iodone(struct buf *bp);
static void swp_pager_async_iodone(struct buf *bp);
static int swaponvp(struct thread *, struct vnode *, dev_t , u_long);
/*
* Swap bitmap functions
@ -2142,7 +2143,7 @@ done2:
return (error);
}
int
static int
swaponvp(td, vp, dev, nblks)
struct thread *td;
struct vnode *vp;

View File

@ -70,7 +70,6 @@ void kmem_init(vm_offset_t, vm_offset_t);
vm_offset_t kmem_malloc(vm_map_t, vm_size_t, boolean_t);
vm_map_t kmem_suballoc(vm_map_t, vm_offset_t *, vm_offset_t *, vm_size_t);
void munmapfd(struct thread *, int);
int swaponvp(struct thread *, struct vnode *, dev_t , u_long);
void swapout_procs(int);
int useracc(void *, int, int);
int vm_fault(vm_map_t, vm_offset_t, vm_prot_t, int);