summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/uvm/uvm_map.c17
-rw-r--r--sys/uvm/uvm_stat.c4
2 files changed, 8 insertions, 13 deletions
diff --git a/sys/uvm/uvm_map.c b/sys/uvm/uvm_map.c
index 1e01f2c5a8b..5d35c3a15f5 100644
--- a/sys/uvm/uvm_map.c
+++ b/sys/uvm/uvm_map.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_map.c,v 1.141 2011/06/06 17:10:23 ariane Exp $ */
+/* $OpenBSD: uvm_map.c,v 1.142 2011/06/30 15:51:06 tedu Exp $ */
/* $NetBSD: uvm_map.c,v 1.86 2000/11/27 08:40:03 chs Exp $ */
/*
@@ -3356,8 +3356,7 @@ uvmspace_init(struct vmspace *vm, struct pmap *pmap, vaddr_t min, vaddr_t max,
*/
void
-uvmspace_share(p1, p2)
- struct proc *p1, *p2;
+uvmspace_share(struct proc *p1, struct proc *p2)
{
p2->p_vmspace = p1->p_vmspace;
p1->p_vmspace->vm_refcnt++;
@@ -3924,10 +3923,8 @@ uvm_map_printit(struct vm_map *map, boolean_t full,
*/
void
-uvm_object_printit(uobj, full, pr)
- struct uvm_object *uobj;
- boolean_t full;
- int (*pr)(const char *, ...);
+uvm_object_printit(struct uvm_object *uobj, boolean_t full,
+ int (*pr)(const char *, ...))
{
struct vm_page *pg;
int cnt = 0;
@@ -3965,10 +3962,8 @@ static const char page_flagbits[] =
"\31PMAP1\32PMAP2\33PMAP3";
void
-uvm_page_printit(pg, full, pr)
- struct vm_page *pg;
- boolean_t full;
- int (*pr)(const char *, ...);
+uvm_page_printit(struct vm_page *pg, boolean_t full,
+ int (*pr)(const char *, ...))
{
struct vm_page *tpg;
struct uvm_object *uobj;
diff --git a/sys/uvm/uvm_stat.c b/sys/uvm/uvm_stat.c
index 141bb371e9c..c20518f562d 100644
--- a/sys/uvm/uvm_stat.c
+++ b/sys/uvm/uvm_stat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_stat.c,v 1.22 2009/06/17 00:13:59 oga Exp $ */
+/* $OpenBSD: uvm_stat.c,v 1.23 2011/06/30 15:51:07 tedu Exp $ */
/* $NetBSD: uvm_stat.c,v 1.18 2001/03/09 01:02:13 chs Exp $ */
/*
@@ -184,7 +184,7 @@ uvm_hist(u_int32_t bitmask) /* XXX only support 32 hists */
#endif /* UVMHIST */
void
-uvmcnt_dump()
+uvmcnt_dump(void)
{
struct uvm_cnt *uvc = uvm_cnt_head;