From 253de0a143833dae8cf0ac129135b6d5df162429 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Thu, 10 Feb 2005 12:18:17 +0000 Subject: [PATCH] Make npages static and const. --- sys/vm/vm_pager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/vm/vm_pager.c b/sys/vm/vm_pager.c index 2000312742e9..28e0fe7ecc72 100644 --- a/sys/vm/vm_pager.c +++ b/sys/vm/vm_pager.c @@ -166,7 +166,7 @@ struct pagerops *pagertab[] = { &deadpagerops /* OBJT_DEAD */ }; -int npagers = sizeof(pagertab) / sizeof(pagertab[0]); +static const int npagers = sizeof(pagertab) / sizeof(pagertab[0]); /* * Kernel address space for mapping pages.