Move extern declaration of the various pagerops from vm_pager.c

to vm_pager.h where the various pagers will also see them.
This commit is contained in:
Poul-Henning Kamp 2003-08-03 09:27:39 +00:00
parent eeb086be33
commit 745f330503
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=118384
2 changed files with 6 additions and 6 deletions

View File

@ -88,12 +88,6 @@ __FBSDID("$FreeBSD$");
MALLOC_DEFINE(M_VMPGDATA, "VM pgdata", "XXX: VM pager private data");
extern struct pagerops defaultpagerops;
extern struct pagerops swappagerops;
extern struct pagerops vnodepagerops;
extern struct pagerops devicepagerops;
extern struct pagerops physpagerops;
int cluster_pbuf_freecnt = -1; /* unlimited to begin with */
static int dead_pager_getpages(vm_object_t, vm_page_t *, int, int);

View File

@ -63,6 +63,12 @@ struct pagerops {
void (*pgo_strategy)(vm_object_t, struct bio *);
};
extern struct pagerops defaultpagerops;
extern struct pagerops swappagerops;
extern struct pagerops vnodepagerops;
extern struct pagerops devicepagerops;
extern struct pagerops physpagerops;
/*
* get/put return values
* OK operation was successful