diff options
| author | 2009-05-08 13:50:15 +0000 | |
|---|---|---|
| committer | 2009-05-08 13:50:15 +0000 | |
| commit | 685124730d69cdadc8c20559dbee7cc7c97dc7dd (patch) | |
| tree | 8bf7c494704728bb6b7e7c7ce615985c4265c5b4 /sys/uvm/uvm_pdaemon.c | |
| parent | Sort variables in env_keep. (diff) | |
| download | wireguard-openbsd-685124730d69cdadc8c20559dbee7cc7c97dc7dd.tar.xz wireguard-openbsd-685124730d69cdadc8c20559dbee7cc7c97dc7dd.zip | |
Remove static qualifier of functions that are not inline.
Makes trace in ddb useful.
ok oga
Diffstat (limited to 'sys/uvm/uvm_pdaemon.c')
| -rw-r--r-- | sys/uvm/uvm_pdaemon.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/uvm/uvm_pdaemon.c b/sys/uvm/uvm_pdaemon.c index e5b88326899..e92069c3459 100644 --- a/sys/uvm/uvm_pdaemon.c +++ b/sys/uvm/uvm_pdaemon.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_pdaemon.c,v 1.43 2009/05/04 18:08:06 oga Exp $ */ +/* $OpenBSD: uvm_pdaemon.c,v 1.44 2009/05/08 13:50:15 ariane Exp $ */ /* $NetBSD: uvm_pdaemon.c,v 1.23 2000/08/20 10:24:14 bjh21 Exp $ */ /* @@ -96,9 +96,9 @@ * local prototypes */ -static void uvmpd_scan(void); -static boolean_t uvmpd_scan_inactive(struct pglist *); -static void uvmpd_tune(void); +void uvmpd_scan(void); +boolean_t uvmpd_scan_inactive(struct pglist *); +void uvmpd_tune(void); /* * uvm_wait: wait (sleep) for the page daemon to free some pages @@ -155,7 +155,7 @@ uvm_wait(const char *wmsg) * => caller must call with page queues locked */ -static void +void uvmpd_tune(void) { UVMHIST_FUNC("uvmpd_tune"); UVMHIST_CALLED(pdhist); @@ -328,7 +328,7 @@ uvm_aiodone_daemon(void *arg) * => we return TRUE if we are exiting because we met our target */ -static boolean_t +boolean_t uvmpd_scan_inactive(struct pglist *pglst) { boolean_t retval = FALSE; /* assume we haven't hit target */ |
