diff options
author | 1995-12-14 06:07:34 +0000 | |
---|---|---|
committer | 1995-12-14 06:07:34 +0000 | |
commit | 4def00ebfd05ec834bcc2ed282e7b0cd6bc9e64d (patch) | |
tree | 82e4af975de2b1701baa7d129ab5699fd608a230 | |
parent | from netbsd; Return 0 in the child, not the parent pid. (diff) | |
download | wireguard-openbsd-4def00ebfd05ec834bcc2ed282e7b0cd6bc9e64d.tar.xz wireguard-openbsd-4def00ebfd05ec834bcc2ed282e7b0cd6bc9e64d.zip |
from netbsd; cpu_fork() now returns void
-rw-r--r-- | sys/arch/i386/i386/vm_machdep.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/i386/i386/vm_machdep.c b/sys/arch/i386/i386/vm_machdep.c index 414db9fed5b..6adf2874c17 100644 --- a/sys/arch/i386/i386/vm_machdep.c +++ b/sys/arch/i386/i386/vm_machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: vm_machdep.c,v 1.54 1995/10/12 17:56:48 mycroft Exp $ */ +/* $NetBSD: vm_machdep.c,v 1.55 1995/12/09 04:37:44 mycroft Exp $ */ /*- * Copyright (c) 1995 Charles M. Hannum. All rights reserved. @@ -77,6 +77,7 @@ extern struct proc *npxproc; * address in each process; in the future we will probably relocate * the frame pointers on the stack after copying. */ +void cpu_fork(p1, p2) register struct proc *p1, *p2; { @@ -143,8 +144,6 @@ cpu_fork(p1, p2) sf->sf_ebx = (int)p2; sf->sf_eip = (int)proc_trampoline; pcb->pcb_esp = (int)sf; - - return (0); } void |