diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-11-23 15:29:25 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-11-24 22:54:06 +0100 |
commit | 9d6d964bad51968375b88e7b0bf56b4361801667 (patch) | |
tree | 8d506496516575afead2bb566772180b25951b9f /vm/vm_map.c | |
parent | db7bae79dedbbc06bf268d0a01785d52eab3876f (diff) | |
download | gnumach-9d6d964bad51968375b88e7b0bf56b4361801667.tar.gz gnumach-9d6d964bad51968375b88e7b0bf56b4361801667.tar.bz2 gnumach-9d6d964bad51968375b88e7b0bf56b4361801667.zip |
vm: move forward declarations into a header file
* vm/vm_map.c (vm_map_delete, vm_map_copyout_page_list, vm_map_copy_page_discard, vm_map_lookup_entry): Remove forward declarations.
* vm/vm_map.h (vm_map_delete, vm_map_copyout_page_list, vm_map_copy_page_discard, vm_map_lookup_entry): Add prototypes.
Diffstat (limited to 'vm/vm_map.c')
-rw-r--r-- | vm/vm_map.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/vm/vm_map.c b/vm/vm_map.c index ce1ab237..6e4544a3 100644 --- a/vm/vm_map.c +++ b/vm/vm_map.c @@ -58,20 +58,6 @@ #include <vm/vm_print.h> #endif /* MACH_KDB */ - -/* Forward declarations */ -kern_return_t vm_map_delete( - vm_map_t map, - vm_offset_t start, - vm_offset_t end); - -kern_return_t vm_map_copyout_page_list( - vm_map_t dst_map, - vm_offset_t *dst_addr, /* OUT */ - vm_map_copy_t copy); - -void vm_map_copy_page_discard (vm_map_copy_t copy); - /* * Macros to copy a vm_map_entry. We must be careful to correctly * manage the wired page count. vm_map_entry_copy() creates a new @@ -143,8 +129,6 @@ struct kmem_cache vm_map_entry_cache; /* cache for vm_map_entry structures */ struct kmem_cache vm_map_kentry_cache; /* cache for kernel entry structures */ struct kmem_cache vm_map_copy_cache; /* cache for vm_map_copy structures */ -boolean_t vm_map_lookup_entry(); /* forward declaration */ - /* * Placeholder object for submap operations. This object is dropped * into the range by a call to vm_map_find, and removed when |