summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 06:07:35 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 06:07:35 +0000
commit69b739f818e82f52178ebe2d7adc465c5ebc9e76 (patch)
tree08fda21200a4ebc968f323e0f6cb186be51eb462
parent5b51ebe9ddfd07eb9bb996d962d0fe408b35cd19 (diff)
from netbsd; cpu_fork() now returns void
-rw-r--r--sys/arch/i386/i386/vm_machdep.c5
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