Make these compile again.

This commit is contained in:
briggs 1995-04-23 00:37:23 +00:00
parent 11632db942
commit a2bc99d6f1
2 changed files with 4 additions and 11 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.42 1995/04/22 20:27:33 christos Exp $ */
/* $NetBSD: machdep.c,v 1.43 1995/04/23 00:37:23 briggs Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -517,14 +517,6 @@ sendsig(catcher, sig, mask, code)
ft = frame->f_format;
oonstack = psp->ps_sigstk.ss_flags & SA_ONSTACK;
/*
* build the short SunOS frame instead
*/
sunos_sendsig(catcher, sig, mask, code);
return;
}
#endif
/*
* Allocate and validate space for the signal handler
* context. Note that if the stack is in P0 space, the

View File

@ -1,4 +1,4 @@
/* $NetBSD: trap.c,v 1.27 1995/04/22 20:50:20 christos Exp $ */
/* $NetBSD: trap.c,v 1.28 1995/04/23 00:37:29 briggs Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -66,6 +66,7 @@
#include <machine/pte.h>
#ifdef COMPAT_SUNOS
#include <compat/sunos/sunos_syscall.h>
extern struct emul emul_sunos;
#endif
@ -687,7 +688,7 @@ syscall(code, frame)
* on the stack to skip, the argument follows the syscall
* number without a gap.
*/
if (code != SUNOS_SYS_sigreturn) {
if (code != SUNOS_SYS_sunos_sigreturn) {
frame.f_regs[SP] += sizeof (int);
/*
* remember that we adjusted the SP,