summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-02 13:40:29 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-02 13:40:29 +0000
commitb4b86e253c281667cdc2578d85a9fef3acf1385b (patch)
treea4e154ae99ade9b77206f381902edc4b119b4a1a /sys/arch
parent748302130f288478acf023eb979df36d885f4f0f (diff)
nice types
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/i386/vm_machdep.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/i386/i386/vm_machdep.c b/sys/arch/i386/i386/vm_machdep.c
index 2a58bd72ec2..36ccc371555 100644
--- a/sys/arch/i386/i386/vm_machdep.c
+++ b/sys/arch/i386/i386/vm_machdep.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: vm_machdep.c,v 1.9 1996/04/21 22:16:43 deraadt Exp $ */
-/* $NetBSD: vm_machdep.c,v 1.59 1996/04/03 08:24:17 mycroft Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.10 1996/05/02 13:40:28 deraadt Exp $ */
+/* $NetBSD: vm_machdep.c,v 1.60 1996/04/25 01:15:41 christos Exp $ */
/*-
* Copyright (c) 1995 Charles M. Hannum. All rights reserved.
@@ -150,11 +150,11 @@ cpu_fork(p1, p2)
void
cpu_set_kpc(p, pc)
struct proc *p;
- u_long pc;
+ void (*pc) __P((struct proc *));
{
struct switchframe *sf = (struct switchframe *)p->p_addr->u_pcb.pcb_esp;
- sf->sf_esi = pc;
+ sf->sf_esi = (int) pc;
}
void
@@ -287,7 +287,7 @@ setredzone(pte, vaddr)
void
pagemove(from, to, size)
register caddr_t from, to;
- int size;
+ size_t size;
{
register pt_entry_t *fpte, *tpte;