Module Name: src Committed By: thorpej Date: Wed Oct 27 01:10:06 UTC 2021
Modified Files: src/sys/arch/m68k/include: signal.h Log Message: Make sigcontext13 visible only to _KERNEL. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sys/arch/m68k/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/m68k/include/signal.h diff -u src/sys/arch/m68k/include/signal.h:1.26 src/sys/arch/m68k/include/signal.h:1.27 --- src/sys/arch/m68k/include/signal.h:1.26 Tue Oct 26 16:16:35 2021 +++ src/sys/arch/m68k/include/signal.h Wed Oct 27 01:10:06 2021 @@ -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 @@ typedef int sig_atomic_t; * 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 @@ struct sigcontext13 { 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