summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2015-10-05 21:29:17 +0000
committerimp <imp@FreeBSD.org>2015-10-05 21:29:17 +0000
commit2a2f9e774509f04fda4ec67e8a176193e1898692 (patch)
tree336faa70447710e7e758378f9cdc1ebe0b8186f4
parent45c080bebacf0f022532c3c6d0b6eafd9422e8c7 (diff)
downloadFreeBSD-src-2a2f9e774509f04fda4ec67e8a176193e1898692.zip
FreeBSD-src-2a2f9e774509f04fda4ec67e8a176193e1898692.tar.gz
Mark swap_pager_putpages static at its definition. It was already
static at its declaration. Remove needless swapdev_strategy forward declaration. MFC After: 3 days
-rw-r--r--sys/vm/swap_pager.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c
index fd58063..0bd4883 100644
--- a/sys/vm/swap_pager.c
+++ b/sys/vm/swap_pager.c
@@ -313,8 +313,6 @@ swap_release_by_cred(vm_ooffset_t decr, struct ucred *cred)
racct_sub_cred(cred, RACCT_SWAP, decr);
}
-static void swapdev_strategy(struct buf *, struct swdevt *sw);
-
#define SWM_FREE 0x02 /* free, period */
#define SWM_POP 0x04 /* pop out */
@@ -1308,7 +1306,7 @@ swap_pager_getpages_async(vm_object_t object, vm_page_t *m, int count,
* those whos rtvals[] entry is not set to VM_PAGER_PEND on return.
* We need to unbusy the rest on I/O completion.
*/
-void
+static void
swap_pager_putpages(vm_object_t object, vm_page_t *m, int count,
int flags, int *rtvals)
{
OpenPOWER on IntegriCloud