diff options
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) |