From b10112ec96516939dc3cb5d523807fda2755fb37 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Sat, 5 May 2007 00:30:31 +0000 Subject: 2007-05-05 Thomas Schwinge We're not in the eighties anymore. List arguments in function prototypes and definitions for a lot of symbols. Also drop some unused prototypes. I refrain from listing every changed symbol. * vm/memory_object.c: Do as described. * vm/memory_object.h: Likewise. * vm/pmap.h: Likewise. * vm/vm_external.c: Likewise. * vm/vm_external.h: Likewise. * vm/vm_fault.c: Likewise. * vm/vm_fault.h: Likewise. * vm/vm_kern.h: Likewise. * vm/vm_map.c: Likewise. * vm/vm_map.h: Likewise. * vm/vm_pageout.h: Likewise. * vm/vm_user.h: Likewise. * vm/memory_object.h: Include . * vm/pmap.h: Include . * vm/vm_fault.h: Include , and . * vm/vm_map.h: Include and . (vm_map_t, VM_MAP_NULL): Remove type and definition. * vm/vm_object.h (vm_object_t, VM_OBJECT_NULL): Remove type and definition. * vm/vm_page.h: Include . (vm_page_t, VM_PAGE_NULL): Remove type and definition. * vm/vm_user.h: Include . * kern/task.h: Include instead of . * vm/vm_types.h: New file: the above-removed types and definitions. --- vm/memory_object.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vm/memory_object.c') diff --git a/vm/memory_object.c b/vm/memory_object.c index 009d736..6bef2c9 100644 --- a/vm/memory_object.c +++ b/vm/memory_object.c @@ -1119,7 +1119,7 @@ kern_return_t vm_set_default_memory_manager(host, default_manager) * valid (not IP_NULL or IP_DEAD). */ -ipc_port_t memory_manager_default_reference() +ipc_port_t memory_manager_default_reference(void) { ipc_port_t current_manager; @@ -1172,7 +1172,7 @@ boolean_t memory_manager_default_port(port) return result; } -void memory_manager_default_init() +void memory_manager_default_init(void) { memory_manager_default = IP_NULL; simple_lock_init(&memory_manager_default_lock); -- cgit v1.2.3