summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2019-11-01 19:18:30 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2019-11-01 19:18:30 +0000
commit61ba46d718cb44b562b5dc21bfeb737feaec0d5a (patch)
tree9149d24de10a3b7246daa3a8dfb78a0de9ab9c21
parentccb89ed8b9afe48ba0f91404353f68628d5fb485 (diff)
Keep local function definitions in C files.
-rw-r--r--sys/uvm/uvm_map.c6
-rw-r--r--sys/uvm/uvm_map.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/uvm/uvm_map.c b/sys/uvm/uvm_map.c
index dc4199743b6..b805abfc706 100644
--- a/sys/uvm/uvm_map.c
+++ b/sys/uvm/uvm_map.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_map.c,v 1.247 2019/09/09 20:02:26 bluhm Exp $ */
+/* $OpenBSD: uvm_map.c,v 1.248 2019/11/01 19:18:29 mpi Exp $ */
/* $NetBSD: uvm_map.c,v 1.86 2000/11/27 08:40:03 chs Exp $ */
/*
@@ -158,6 +158,10 @@ int uvm_map_findspace(struct vm_map*,
vsize_t uvm_map_addr_augment_get(struct vm_map_entry*);
void uvm_map_addr_augment(struct vm_map_entry*);
+int uvm_map_inentry_recheck(u_long, vaddr_t,
+ struct p_inentry *);
+boolean_t uvm_map_inentry_fix(struct proc *, struct p_inentry *,
+ vaddr_t, int (*)(vm_map_entry_t), u_long);
/*
* Tree management functions.
*/
diff --git a/sys/uvm/uvm_map.h b/sys/uvm/uvm_map.h
index 8f130b5ee4e..48115624b59 100644
--- a/sys/uvm/uvm_map.h
+++ b/sys/uvm/uvm_map.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_map.h,v 1.62 2019/06/14 05:52:43 deraadt Exp $ */
+/* $OpenBSD: uvm_map.h,v 1.63 2019/11/01 19:18:29 mpi Exp $ */
/* $NetBSD: uvm_map.h,v 1.24 2001/02/18 21:19:08 chs Exp $ */
/*
@@ -414,12 +414,8 @@ void uvm_unmap_remove(struct vm_map*, vaddr_t, vaddr_t,
struct p_inentry;
-int uvm_map_inentry_recheck(u_long serial, vaddr_t,
- struct p_inentry *);
int uvm_map_inentry_sp(vm_map_entry_t);
int uvm_map_inentry_pc(vm_map_entry_t);
-boolean_t uvm_map_inentry_fix(struct proc *, struct p_inentry *,
- vaddr_t addr, int (*fn)(vm_map_entry_t), u_long serial);
boolean_t uvm_map_inentry(struct proc *, struct p_inentry *, vaddr_t addr,
const char *fmt, int (*fn)(vm_map_entry_t), u_long serial);