diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-11-29 22:54:20 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-15 19:19:23 +0100 |
commit | be78a5c7937a31128a3624dcace9df23492866f9 (patch) | |
tree | 18fe5f79b66f47aef9658d788fea84ef425d8127 /vm | |
parent | 6ff7e82fab67f23f0aa4caa18b886ce03c060f4d (diff) |
Declare void argument lists
Diffstat (limited to 'vm')
-rw-r--r-- | vm/vm_fault.c | 2 | ||||
-rw-r--r-- | vm/vm_init.c | 4 | ||||
-rw-r--r-- | vm/vm_pageout.c | 8 |
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; |