diff options
author | phk <phk@FreeBSD.org> | 2003-08-03 09:27:39 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-08-03 09:27:39 +0000 |
commit | 61f64f46abd80f685e2ccab03038a3b85962c1ce (patch) | |
tree | 8407c7b6bce4427ca6b575f127610c71a2e86a7c | |
parent | 3882b9d78381f4f0d8257c0813f89a17df9427a2 (diff) | |
download | FreeBSD-src-61f64f46abd80f685e2ccab03038a3b85962c1ce.zip FreeBSD-src-61f64f46abd80f685e2ccab03038a3b85962c1ce.tar.gz |
Move extern declaration of the various pagerops from vm_pager.c
to vm_pager.h where the various pagers will also see them.
-rw-r--r-- | sys/vm/vm_pager.c | 6 | ||||
-rw-r--r-- | sys/vm/vm_pager.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/vm/vm_pager.c b/sys/vm/vm_pager.c index f72c059..e8e984c 100644 --- a/sys/vm/vm_pager.c +++ b/sys/vm/vm_pager.c @@ -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); diff --git a/sys/vm/vm_pager.h b/sys/vm/vm_pager.h index 4aee76c..dc5f135 100644 --- a/sys/vm/vm_pager.h +++ b/sys/vm/vm_pager.h @@ -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 |