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 Make sigcontext13 visible only to _KER...



details:   https://anonhg.NetBSD.org/src/rev/ba354da64470
branches:  trunk
changeset: 990431:ba354da64470
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Oct 27 01:10:06 2021 +0000

description:
Make sigcontext13 visible only to _KERNEL.

diffstat:

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

diffs (27 lines):

diff -r f4c3ca9db78f -r ba354da64470 sys/arch/m68k/include/signal.h
--- a/sys/arch/m68k/include/signal.h    Wed Oct 27 01:09:36 2021 +0000
+++ b/sys/arch/m68k/include/signal.h    Wed Oct 27 01:10:06 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: signal.h,v 1.26 2021/10/26 16:16:35 christos Exp $     */
+/*     $NetBSD: signal.h,v 1.27 2021/10/27 01:10:06 thorpej Exp $      */
 
 /*
  * Copyright (c) 1982, 1986, 1989, 1991 Regents of the University of California.
@@ -52,7 +52,7 @@
  * to the handler to allow it to restore state properly if
  * a non-standard exit is performed.
  */
-#if defined(__LIBC12_SOURCE__) || defined(_KERNEL)
+#if defined(_KERNEL)
 struct sigcontext13 {
        int     sc_onstack;             /* sigstack state to restore */
        int     sc_mask;                /* signal mask to restore (old style) */
@@ -62,7 +62,7 @@
        int     sc_pc;                  /* pc to restore */
        int     sc_ps;                  /* psl to restore */
 };
-#endif /* __LIBC12_SOURCE__ || _KERNEL */
+#endif /* _KERNEL */
 
 #if defined(_LIBC) || defined(_KERNEL)
 #define        __HAVE_STRUCT_SIGCONTEXT



Home | Main Index | Thread Index | Old Index