Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/m68k/include Define __HAVE_STRUCT_SIGCONTEXT regard...



details:   https://anonhg.NetBSD.org/src/rev/d4a34e161fa2
branches:  trunk
changeset: 1024590:d4a34e161fa2
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Oct 29 17:29:45 2021 +0000

description:
Define __HAVE_STRUCT_SIGCONTEXT regardless of its current visibility.

diffstat:

 sys/arch/m68k/include/signal.h |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r 46b7cde97746 -r d4a34e161fa2 sys/arch/m68k/include/signal.h
--- a/sys/arch/m68k/include/signal.h    Fri Oct 29 16:59:35 2021 +0000
+++ b/sys/arch/m68k/include/signal.h    Fri Oct 29 17:29:45 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: signal.h,v 1.27 2021/10/27 01:10:06 thorpej Exp $      */
+/*     $NetBSD: signal.h,v 1.28 2021/10/29 17:29:45 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)
@@ -65,7 +67,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) */
@@ -96,7 +97,7 @@
 
 u_int fpsr2siginfocode(u_int fpsr);
 
-#endif
+#endif /* _KERNEL */
 
 #if defined(__M68K_SIGNAL_PRIVATE)
 



Home | Main Index | Thread Index | Old Index