Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch Define __HAVE_STRUCT_SIGCONTEXT regardless of its c...



details:   https://anonhg.NetBSD.org/src/rev/2f9d668df0a4
branches:  trunk
changeset: 990493:2f9d668df0a4
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Oct 29 04:13:39 2021 +0000

description:
Define __HAVE_STRUCT_SIGCONTEXT regardless of its current visibility.

diffstat:

 sys/arch/sh3/include/signal.h |  5 +++--
 sys/arch/vax/include/signal.h |  5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (52 lines):

diff -r a1a05e6c96ca -r 2f9d668df0a4 sys/arch/sh3/include/signal.h
--- a/sys/arch/sh3/include/signal.h     Fri Oct 29 01:49:26 2021 +0000
+++ b/sys/arch/sh3/include/signal.h     Fri Oct 29 04:13:39 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: signal.h,v 1.16 2021/10/27 01:11:34 thorpej Exp $      */
+/*     $NetBSD: signal.h,v 1.17 2021/10/29 04:14:44 thorpej Exp $      */
 
 /*
  * Copyright (c) 1982, 1986, 1989, 1991 Regents of the University of California.
@@ -36,6 +36,8 @@
 
 #include <sys/featuretest.h>
 
+#define        __HAVE_STRUCT_SIGCONTEXT
+
 typedef int sig_atomic_t;
 
 #if defined(_NETBSD_SOURCE)
@@ -78,7 +80,6 @@
 #endif /* _KERNEL */
 
 #if defined(_LIBC) || defined(_KERNEL)
-#define        __HAVE_STRUCT_SIGCONTEXT
 struct sigcontext {
        int     sc_spc;
        int     sc_ssr;
diff -r a1a05e6c96ca -r 2f9d668df0a4 sys/arch/vax/include/signal.h
--- a/sys/arch/vax/include/signal.h     Fri Oct 29 01:49:26 2021 +0000
+++ b/sys/arch/vax/include/signal.h     Fri Oct 29 04:13:39 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: signal.h,v 1.22 2021/10/28 11:13:27 christos Exp $     */
+/*     $NetBSD: signal.h,v 1.23 2021/10/29 04:13:39 thorpej Exp $      */
 
 /*
  * Copyright (c) 1982, 1986, 1989, 1991 Regents of the University of California.
@@ -40,6 +40,8 @@
 #include <sys/siginfo.h>
 #include <machine/trap.h>
 
+#define        __HAVE_STRUCT_SIGCONTEXT
+
 /* VAX versioned its sigcontext trampoline ABI (Sept 2002). */
 #define __SIGTRAMP_SIGCONTEXT_VERSION_MAX      2
 #define __SIGTRAMP_SIGCONTEXT_VERSION          2
@@ -70,7 +72,6 @@
        int     sc_ps;                  /* psl to restore */
 };
 
-#define        __HAVE_STRUCT_SIGCONTEXT
 struct sigcontext {
        int     sc_onstack;             /* sigstack state to restore */
        int     __sc_mask13;            /* signal mask to restore (old style) */



Home | Main Index | Thread Index | Old Index