From: mickey Date: Sat, 4 May 1996 21:27:34 +0000 (+0000) Subject: it compiles now. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4aededb570de27e8f7c07f43787d67d507f4befd;p=openbsd it compiles now. --- diff --git a/sys/arch/hp300/hp300/vm_machdep.c b/sys/arch/hp300/hp300/vm_machdep.c index 94a388da4d4..25000809270 100644 --- a/sys/arch/hp300/hp300/vm_machdep.c +++ b/sys/arch/hp300/hp300/vm_machdep.c @@ -103,10 +103,10 @@ cpu_fork(p1, p2) void cpu_set_kpc(p, pc) struct proc *p; - u_long pc; + void (*pc)(struct proc *); { - p->p_addr->u_pcb.pcb_regs[6] = pc; /* A2 */ + p->p_addr->u_pcb.pcb_regs[6] = (u_long)pc; /* A2 */ } /* @@ -200,9 +200,10 @@ cpu_coredump(p, vp, cred, chdr) * Both addresses are assumed to reside in the Sysmap, * and size must be a multiple of CLSIZE. */ +void pagemove(from, to, size) register caddr_t from, to; - int size; + size_t size; { register vm_offset_t pa;