summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormmcc <mmcc@cvs.openbsd.org>2015-10-30 04:21:43 +0000
committermmcc <mmcc@cvs.openbsd.org>2015-10-30 04:21:43 +0000
commit8742a3e440961ac796d3eca08e333221efc65758 (patch)
tree783f045ed2ce7115315a95fcf6d68824f0263aa4
parent2bfdd4a64ee5a0dc061d646cc3b728fbfb9e9156 (diff)
uvm_deallocate()'s return type is void, not int. This has apparently
been out of sync for 13 years. ok daniel@, millert@
-rw-r--r--share/man/man9/uvm.96
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man9/uvm.9 b/share/man/man9/uvm.9
index 5d44260dfd0..df774335b0b 100644
--- a/share/man/man9/uvm.9
+++ b/share/man/man9/uvm.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: uvm.9,v 1.60 2015/01/15 21:19:22 guenther Exp $
+.\" $OpenBSD: uvm.9,v 1.61 2015/10/30 04:21:42 mmcc Exp $
.\" $NetBSD: uvm.9,v 1.14 2000/06/29 06:08:44 mrg Exp $
.\"
.\" Copyright (c) 1998 Matthew R. Green
@@ -30,7 +30,7 @@
.\" XXX this manual sets nS to 1 or 0 in the description, to obtain
.\" synopsis-like function prototypes. any better way?
.\"
-.Dd $Mdocdate: January 15 2015 $
+.Dd $Mdocdate: October 30 2015 $
.Dt UVM 9
.Os
.Sh NAME
@@ -131,7 +131,7 @@ function initialises the swap subsystem.
.Fn uvm_map_checkprot "vm_map_t map" "vaddr_t start" "vaddr_t end" "vm_prot_t protection"
.Ft int
.Fn uvm_map_protect "vm_map_t map" "vaddr_t start" "vaddr_t end" "vm_prot_t new_prot" "boolean_t set_max"
-.Ft int
+.Ft void
.Fn uvm_deallocate "vm_map_t map" "vaddr_t start" "vsize_t size"
.Ft struct vmspace *
.Fn uvmspace_alloc "vaddr_t min" "vaddr_t max" "boolean_t pageable" "boolean_t remove_holes"