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/324531098488
branches:  trunk
changeset: 990580:324531098488
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 a0438f96d46e -r 324531098488 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