Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/vax/include The genassym code in libc also needs st...



details:   https://anonhg.NetBSD.org/src/rev/d05e96362701
branches:  trunk
changeset: 1024550:d05e96362701
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Oct 28 11:13:27 2021 +0000

description:
The genassym code in libc also needs struct sigcontext13

diffstat:

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

diffs (28 lines):

diff -r 2d9aa8de43bc -r d05e96362701 sys/arch/vax/include/signal.h
--- a/sys/arch/vax/include/signal.h     Thu Oct 28 11:11:11 2021 +0000
+++ b/sys/arch/vax/include/signal.h     Thu Oct 28 11:13:27 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: signal.h,v 1.21 2021/10/27 05:18:51 thorpej Exp $      */
+/*     $NetBSD: signal.h,v 1.22 2021/10/28 11:13:27 christos Exp $     */
 
 /*
  * Copyright (c) 1982, 1986, 1989, 1991 Regents of the University of California.
@@ -59,7 +59,7 @@
  * to the handler to allow it to restore state properly if
  * a non-standard exit is performed.
  */
-#if defined(_KERNEL)
+#if defined(_LIBC) || defined(_KERNEL)
 struct sigcontext13 {
        int     sc_onstack;             /* sigstack state to restore */
        int     sc_mask;                /* signal mask to restore (old style) */
@@ -69,9 +69,7 @@
        int     sc_pc;                  /* pc to restore */
        int     sc_ps;                  /* psl to restore */
 };
-#endif /* _KERNEL */
 
-#if defined(_LIBC) || defined(_KERNEL)
 #define        __HAVE_STRUCT_SIGCONTEXT
 struct sigcontext {
        int     sc_onstack;             /* sigstack state to restore */



Home | Main Index | Thread Index | Old Index