diff options
author | alc <alc@FreeBSD.org> | 2003-06-20 20:20:06 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2003-06-20 20:20:06 +0000 |
commit | 6106a854990966a482eba01eff8df0e97a113425 (patch) | |
tree | 79881fa1ffa2860491a78c677a4ea2ffbc090120 /sys/vm/swap_pager.c | |
parent | 1b17e03018e87d245f9cfd3b4922abee98e4a09b (diff) | |
download | FreeBSD-src-6106a854990966a482eba01eff8df0e97a113425.zip FreeBSD-src-6106a854990966a482eba01eff8df0e97a113425.tar.gz |
Make swap_pager_haspages() static; remove unused function prototypes.
Diffstat (limited to 'sys/vm/swap_pager.c')
-rw-r--r-- | sys/vm/swap_pager.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c index da56d6d..763f237 100644 --- a/sys/vm/swap_pager.c +++ b/sys/vm/swap_pager.c @@ -150,6 +150,8 @@ static vm_object_t vm_prot_t prot, vm_ooffset_t offset); static void swap_pager_dealloc(vm_object_t object); static int swap_pager_getpages(vm_object_t, vm_page_t *, int, int); +static boolean_t + swap_pager_haspage(vm_object_t object, vm_pindex_t pindex, int *before, int *after); static void swap_pager_init(void); static void swap_pager_unswapped(vm_page_t); static void swap_pager_strategy(vm_object_t, struct bio *); @@ -724,7 +726,7 @@ swap_pager_copy(srcobject, dstobject, offset, destroysource) * (that is handled in getpages/putpages). It probably isn't worth * doing here. */ -boolean_t +static boolean_t swap_pager_haspage(object, pindex, before, after) vm_object_t object; vm_pindex_t pindex; |