Module Name:    src
Committed By:   christos
Date:           Thu Oct 28 11:13:27 UTC 2021

Modified Files:
        src/sys/arch/vax/include: signal.h

Log Message:
The genassym code in libc also needs struct sigcontext13


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/vax/include/signal.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/vax/include/signal.h
diff -u src/sys/arch/vax/include/signal.h:1.21 src/sys/arch/vax/include/signal.h:1.22
--- src/sys/arch/vax/include/signal.h:1.21	Wed Oct 27 01:18:51 2021
+++ src/sys/arch/vax/include/signal.h	Thu Oct 28 07:13:27 2021
@@ -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 @@ typedef int sig_atomic_t;
  * 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 @@ struct sigcontext13 {
 	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 */

Reply via email to