Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/osf1 finish updating this for signal changes, as ...
details: https://anonhg.NetBSD.org/src/rev/9bb9d0b6d8fe
branches: trunk
changeset: 472153:9bb9d0b6d8fe
user: cgd <cgd%NetBSD.org@localhost>
date: Fri Apr 23 05:56:28 1999 +0000
description:
finish updating this for signal changes, as was started in the
mis-labeled ("const poisoning"?!??!) rev 1.6.
diffstat:
sys/compat/osf1/osf1_signal.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (42 lines):
diff -r e77263b624c6 -r 9bb9d0b6d8fe sys/compat/osf1/osf1_signal.c
--- a/sys/compat/osf1/osf1_signal.c Fri Apr 23 05:55:13 1999 +0000
+++ b/sys/compat/osf1/osf1_signal.c Fri Apr 23 05:56:28 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: osf1_signal.c,v 1.6 1999/02/09 20:34:17 christos Exp $ */
+/* $NetBSD: osf1_signal.c,v 1.7 1999/04/23 05:56:28 cgd Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
@@ -18,10 +18,10 @@
#include <compat/osf1/osf1_syscallargs.h>
#include <compat/osf1/osf1_util.h>
-static void bsd_to_osf1_sigaction __P((const struct sigaction13 *bsa,
+static void bsd_to_osf1_sigaction __P((const struct sigaction *bsa,
struct osf1_sigaction *osa));
static void osf1_to_bsd_sigaction __P((const struct osf1_sigaction *osa,
- struct sigaction13 *bsa));
+ struct sigaction *bsa));
#define osf1_sigmask(n) (1 << ((n) - 1))
#define osf1_sigemptyset(s) memset((s), 0, sizeof(*(s)))
@@ -222,8 +222,8 @@
syscallarg(struct osf1_sigaction *) osa;
} */ *uap = v;
struct osf1_sigaction *nosa, *oosa, tmposa;
- struct sigaction13 *nbsa, *obsa, tmpbsa;
- struct compat_13_sys_sigaction_args sa;
+ struct sigaction *nbsa, *obsa, tmpbsa;
+ struct sys___sigaction14_args sa;
caddr_t sg;
int error;
@@ -250,7 +250,7 @@
SCARG(&sa, nsa) = nbsa;
SCARG(&sa, osa) = obsa;
- if ((error = compat_13_sys_sigaction(p, &sa, retval)) != 0)
+ if ((error = sys___sigaction14(p, &sa, retval)) != 0)
return error;
if (oosa != NULL) {
Home |
Main Index |
Thread Index |
Old Index