summaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
Diffstat (limited to 'vm')
-rw-r--r--vm/vm_fault.c2
-rw-r--r--vm/vm_init.c4
-rw-r--r--vm/vm_pageout.c8
3 files changed, 7 insertions, 7 deletions
diff --git a/vm/vm_fault.c b/vm/vm_fault.c
index 96c8387..d9c3d7b 100644
--- a/vm/vm_fault.c
+++ b/vm/vm_fault.c
@@ -1136,7 +1136,7 @@ vm_fault_return_t vm_fault_page(first_object, first_offset,
*/
void
-vm_fault_continue()
+vm_fault_continue(void)
{
vm_fault_state_t *state =
(vm_fault_state_t *) current_thread()->ith_other;
diff --git a/vm/vm_init.c b/vm/vm_init.c
index 89eb098..3d1081c 100644
--- a/vm/vm_init.c
+++ b/vm/vm_init.c
@@ -51,7 +51,7 @@
* This is done only by the first cpu up.
*/
-void vm_mem_bootstrap()
+void vm_mem_bootstrap(void)
{
vm_offset_t start, end;
@@ -79,7 +79,7 @@ void vm_mem_bootstrap()
memory_manager_default_init();
}
-void vm_mem_init()
+void vm_mem_init(void)
{
vm_object_init();
memory_object_proxy_init();
diff --git a/vm/vm_pageout.c b/vm/vm_pageout.c
index 46ba56b..f4f1fef 100644
--- a/vm/vm_pageout.c
+++ b/vm/vm_pageout.c
@@ -507,7 +507,7 @@ vm_pageout_page(m, initial, flush)
* vm_page_free_wanted == 0.
*/
-void vm_pageout_scan()
+void vm_pageout_scan(void)
{
unsigned int burst_count;
unsigned int want_pages;
@@ -853,7 +853,7 @@ void vm_pageout_scan()
}
}
-void vm_pageout_scan_continue()
+void vm_pageout_scan_continue(void)
{
/*
* We just paused to let the pagers catch up.
@@ -884,7 +884,7 @@ void vm_pageout_scan_continue()
* vm_pageout is the high level pageout daemon.
*/
-void vm_pageout_continue()
+void vm_pageout_continue(void)
{
/*
* The pageout daemon is never done, so loop forever.
@@ -906,7 +906,7 @@ void vm_pageout_continue()
}
}
-void vm_pageout()
+void vm_pageout(void)
{
int free_after_reserve;