diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-12-19 20:43:54 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-20 00:26:27 +0100 |
commit | 549984f6b3b5ec146edcb03d86e637eff9956bd2 (patch) | |
tree | 5c082377d5f22bafbaae71408062ba2aaef18c5d /vm | |
parent | f533e173fccb40aac5c3e7f4f2277f3cdec5d029 (diff) |
Declare void argument lists (part 2)
Declare void argument lists that were not declared in the first
part of this patch and
* kern/sched_prim.h (recompute_priorities): Fix prototype.
* kern/startup.c (setup_main) (recompute_priorities): Fix call.
Diffstat (limited to 'vm')
-rw-r--r-- | vm/pmap.h | 2 | ||||
-rw-r--r-- | vm/vm_resident.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -183,7 +183,7 @@ extern void pmap_copy(pmap_t, pmap_t, vm_offset_t, vm_size_t, #endif /* pmap_copy */ #ifndef pmap_attribute /* Get/Set special memory attributes. */ -extern kern_return_t pmap_attribute(); +extern kern_return_t pmap_attribute(void); #endif /* pmap_attribute */ /* diff --git a/vm/vm_resident.c b/vm/vm_resident.c index 6f34041..fa02cbc 100644 --- a/vm/vm_resident.c +++ b/vm/vm_resident.c @@ -918,7 +918,7 @@ vm_page_t vm_page_grab( return mem; } -vm_offset_t vm_page_grab_phys_addr() +vm_offset_t vm_page_grab_phys_addr(void) { vm_page_t p = vm_page_grab(FALSE); if (p == VM_PAGE_NULL) |