diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c index 6910eae25e95..70bdd704f6e7 100644 --- a/sys/vm/swap_pager.c +++ b/sys/vm/swap_pager.c @@ -311,7 +311,7 @@ swap_release_by_cred(vm_ooffset_t decr, struct ucred *cred) #define SWM_FREE 0x02 /* free, period */ #define SWM_POP 0x04 /* pop out */ -int swap_pager_full = 2; /* swap space exhaustion (task killing) */ +static int swap_pager_full = 2; /* swap space exhaustion (task killing) */ static int swap_pager_almost_full = 1; /* swap space exhaustion (w/hysteresis)*/ static int nsw_rcount; /* free read buffers */ static int nsw_wcount_sync; /* limit write buffers / synchronous */ diff --git a/sys/vm/swap_pager.h b/sys/vm/swap_pager.h index 6c170a4dec00..cf117a77cb45 100644 --- a/sys/vm/swap_pager.h +++ b/sys/vm/swap_pager.h @@ -73,7 +73,6 @@ struct swdevt { #ifdef _KERNEL -extern int swap_pager_full; extern int swap_pager_avail; struct xswdev;