summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_map.h
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-10-29 18:30:22 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-10-29 18:30:22 +0000
commitc8811b30c30f967b1b25387b30bc1cfd2e619a84 (patch)
tree7f1dbc5c260750693c2baf5bd8bb4e20787c0a3f /sys/uvm/uvm_map.h
parente58a32400cb5873b3caa54fb806f18fd1d173388 (diff)
Since memory deallocation can't fail, remove the error return from
uvm_unmap, uvm_deallocate and a few other functions. Simplifies some code and reduces diff to the UBC branch.
Diffstat (limited to 'sys/uvm/uvm_map.h')
-rw-r--r--sys/uvm/uvm_map.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/uvm/uvm_map.h b/sys/uvm/uvm_map.h
index f99f25e307c..8dbc4fda58b 100644
--- a/sys/uvm/uvm_map.h
+++ b/sys/uvm/uvm_map.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_map.h,v 1.27 2002/06/11 06:38:01 art Exp $ */
+/* $OpenBSD: uvm_map.h,v 1.28 2002/10/29 18:30:21 art Exp $ */
/* $NetBSD: uvm_map.h,v 1.24 2001/02/18 21:19:08 chs Exp $ */
/*
@@ -348,9 +348,9 @@ int uvm_map_reserve(vm_map_t, vsize_t, vaddr_t, vsize_t,
void uvm_map_setup(vm_map_t, vaddr_t, vaddr_t, int);
int uvm_map_submap(vm_map_t, vaddr_t, vaddr_t, vm_map_t);
MAP_INLINE
-int uvm_unmap(vm_map_t, vaddr_t, vaddr_t);
+void uvm_unmap(vm_map_t, vaddr_t, vaddr_t);
void uvm_unmap_detach(vm_map_entry_t,int);
-int uvm_unmap_remove(vm_map_t, vaddr_t, vaddr_t,
+void uvm_unmap_remove(vm_map_t, vaddr_t, vaddr_t,
vm_map_entry_t *);
#endif /* _KERNEL */