summaryrefslogtreecommitdiff
path: root/sys/vm
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_extern.h4
-rw-r--r--sys/vm/vm_glue.c4
-rw-r--r--sys/vm/vm_map.c4
-rw-r--r--sys/vm/vm_map.h2
-rw-r--r--sys/vm/vm_object.c4
-rw-r--r--sys/vm/vm_object.h2
6 files changed, 10 insertions, 10 deletions
diff --git a/sys/vm/vm_extern.h b/sys/vm/vm_extern.h
index 64a732b223d..dc52e27d09c 100644
--- a/sys/vm/vm_extern.h
+++ b/sys/vm/vm_extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_extern.h,v 1.6 1996/06/10 19:26:51 niklas Exp $ */
+/* $OpenBSD: vm_extern.h,v 1.7 1996/07/23 23:54:21 deraadt Exp $ */
/* $NetBSD: vm_extern.h,v 1.20 1996/04/23 12:25:23 christos Exp $ */
/*-
@@ -66,7 +66,7 @@ int sstk __P((struct proc *, void *, int *));
void assert_wait __P((void *, boolean_t));
int grow __P((struct proc *, vm_offset_t));
-void iprintf __P((void (*)(const char *, ...), const char *, ...));
+void iprintf __P((int (*)(const char *, ...), const char *, ...));
int kernacc __P((caddr_t, int, int));
int kinfo_loadavg __P((int, char *, int *, int, int *));
int kinfo_meter __P((int, caddr_t, int *, int, int *));
diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c
index 45f49d1987c..2bbde4ea4f8 100644
--- a/sys/vm/vm_glue.c
+++ b/sys/vm/vm_glue.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_glue.c,v 1.18 1996/06/24 20:00:51 pefo Exp $ */
+/* $OpenBSD: vm_glue.c,v 1.19 1996/07/23 23:54:22 deraadt Exp $ */
/* $NetBSD: vm_glue.c,v 1.55.4.1 1996/06/13 17:25:45 cgd Exp $ */
/*
@@ -613,7 +613,7 @@ int indent = 0;
/*ARGSUSED2*/
void
#if __STDC__
-iprintf(void (*pr)(const char *, ...), const char *fmt, ...)
+iprintf(int (*pr)(const char *, ...), const char *fmt, ...)
#else
iprintf(pr, fmt /* , va_alist */)
void (*pr)();
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c
index d8d952f4019..f8089e268ba 100644
--- a/sys/vm/vm_map.c
+++ b/sys/vm/vm_map.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_map.c,v 1.2 1996/03/03 17:45:30 niklas Exp $ */
+/* $OpenBSD: vm_map.c,v 1.3 1996/07/23 23:54:23 deraadt Exp $ */
/* $NetBSD: vm_map.c,v 1.23 1996/02/10 00:08:08 christos Exp $ */
/*
@@ -2589,7 +2589,7 @@ void
_vm_map_print(map, full, pr)
register vm_map_t map;
boolean_t full;
- void (*pr) __P((const char *, ...));
+ int (*pr) __P((const char *, ...));
{
register vm_map_entry_t entry;
extern int indent;
diff --git a/sys/vm/vm_map.h b/sys/vm/vm_map.h
index 63c47111c4f..cd3e305710f 100644
--- a/sys/vm/vm_map.h
+++ b/sys/vm/vm_map.h
@@ -218,7 +218,7 @@ int vm_map_clean __P((vm_map_t,
vm_offset_t, vm_offset_t, boolean_t, boolean_t));
void vm_map_print __P((vm_map_t, boolean_t));
void _vm_map_print __P((vm_map_t, boolean_t,
- void (*)(const char *, ...)));
+ int (*)(const char *, ...)));
int vm_map_protect __P((vm_map_t,
vm_offset_t, vm_offset_t, vm_prot_t, boolean_t));
void vm_map_reference __P((vm_map_t));
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c
index 70c666027c2..c4d3f285422 100644
--- a/sys/vm/vm_object.c
+++ b/sys/vm/vm_object.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_object.c,v 1.4 1996/04/19 16:10:51 niklas Exp $ */
+/* $OpenBSD: vm_object.c,v 1.5 1996/07/23 23:54:25 deraadt Exp $ */
/* $NetBSD: vm_object.c,v 1.34 1996/02/28 22:35:35 gwr Exp $ */
/*
@@ -1418,7 +1418,7 @@ void
_vm_object_print(object, full, pr)
vm_object_t object;
boolean_t full;
- void (*pr) __P((const char *, ...));
+ int (*pr) __P((const char *, ...));
{
register vm_page_t p;
extern indent;
diff --git a/sys/vm/vm_object.h b/sys/vm/vm_object.h
index fa12d563e6e..3ec9af99a45 100644
--- a/sys/vm/vm_object.h
+++ b/sys/vm/vm_object.h
@@ -167,7 +167,7 @@ void vm_object_prefer __P((vm_object_t,
vm_offset_t, vm_offset_t *));
void vm_object_print __P((vm_object_t, boolean_t));
void _vm_object_print __P((vm_object_t, boolean_t,
- void (*)(const char *, ...)));
+ int (*)(const char *, ...)));
void vm_object_reference __P((vm_object_t));
void vm_object_remove __P((vm_pager_t));
void vm_object_setpager __P((vm_object_t,