* vm/vm_fault.c (vm_fault_wire_fast): Remove forward declaration.
* vm/vm_fault.h (vm_fault_wire_fast): Add prototype.

---
 vm/vm_fault.c | 2 --
 vm/vm_fault.h | 6 ++++++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/vm/vm_fault.c b/vm/vm_fault.c
index d0c7f96..96c8387 100644
--- a/vm/vm_fault.c
+++ b/vm/vm_fault.c
@@ -1495,8 +1495,6 @@ kern_return_t vm_fault(map, vaddr, fault_type, 
change_wiring,
        return(kr);
 }
 
-kern_return_t  vm_fault_wire_fast();
-
 /*
  *     vm_fault_wire:
  *
diff --git a/vm/vm_fault.h b/vm/vm_fault.h
index 0492ccf..7fdbc41 100644
--- a/vm/vm_fault.h
+++ b/vm/vm_fault.h
@@ -69,4 +69,10 @@ extern void          vm_fault_unwire(vm_map_t, 
vm_map_entry_t);
 extern kern_return_t   vm_fault_copy(vm_object_t, vm_offset_t, vm_size_t *,
                                      vm_object_t, vm_offset_t, vm_map_t,
                                      vm_map_version_t *, boolean_t);
+
+kern_return_t vm_fault_wire_fast(
+       vm_map_t        map,
+       vm_offset_t     va,
+       vm_map_entry_t  entry);
+
 #endif /* _VM_VM_FAULT_H_ */
-- 
1.8.1.4


Reply via email to