Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/include Define __HAVE_STRUCT_SIGCONTEXT regardl...



details:   https://anonhg.NetBSD.org/src/rev/8f466dc98cc5
branches:  trunk
changeset: 1024659:8f466dc98cc5
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat Oct 30 15:51:52 2021 +0000

description:
Define __HAVE_STRUCT_SIGCONTEXT regardless of its current visibility.

diffstat:

 sys/arch/arm/include/signal.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 67baa8dac483 -r 8f466dc98cc5 sys/arch/arm/include/signal.h
--- a/sys/arch/arm/include/signal.h     Sat Oct 30 15:26:58 2021 +0000
+++ b/sys/arch/arm/include/signal.h     Sat Oct 30 15:51:52 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: signal.h,v 1.18 2021/10/27 01:09:36 thorpej Exp $      */
+/*     $NetBSD: signal.h,v 1.19 2021/10/30 15:51:52 thorpej Exp $      */
 
 /*
  * Copyright (c) 1994-1996 Mark Brinicombe.
@@ -49,6 +49,8 @@
 #include <sys/featuretest.h>
 #include <sys/sigtypes.h>
 
+#define        __HAVE_STRUCT_SIGCONTEXT
+
 #ifndef _LOCORE
 typedef int sig_atomic_t;
 #endif
@@ -93,7 +95,6 @@
 #endif /* _KERNEL */
 
 #if defined(_LIBC) || defined(_KERNEL)
-#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