From 549984f6b3b5ec146edcb03d86e637eff9956bd2 Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Thu, 19 Dec 2013 20:43:54 +0100 Subject: 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. --- vm/pmap.h | 2 +- vm/vm_resident.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'vm') diff --git a/vm/pmap.h b/vm/pmap.h index 95ba6da..134f9c6 100644 --- a/vm/pmap.h +++ b/vm/pmap.h @@ -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) -- cgit v1.2.3