From 32db0bed28a5f5dc70f9a885e1565ea736f8d8a3 Mon Sep 17 00:00:00 2001 From: miod Date: Fri, 29 Mar 2024 21:16:38 +0000 Subject: [PATCH] Stop including in locore and remove _LOCORE guards from this header file. ok claudio@ kettenis@ --- sys/arch/sparc64/include/signal.h | 6 ++---- sys/arch/sparc64/sparc64/locore.s | 3 +-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/sys/arch/sparc64/include/signal.h b/sys/arch/sparc64/include/signal.h index 3a9cc69b870..58b5e8b5781 100644 --- a/sys/arch/sparc64/include/signal.h +++ b/sys/arch/sparc64/include/signal.h @@ -1,4 +1,4 @@ -/* $OpenBSD: signal.h,v 1.12 2016/05/10 18:39:48 deraadt Exp $ */ +/* $OpenBSD: signal.h,v 1.13 2024/03/29 21:16:38 miod Exp $ */ /* $NetBSD: signal.h,v 1.10 2001/05/09 19:50:49 kleink Exp $ */ /* @@ -44,7 +44,6 @@ #ifndef _MACHINE_SIGNAL_H_ #define _MACHINE_SIGNAL_H_ -#ifndef _LOCORE #include typedef int sig_atomic_t; @@ -69,9 +68,8 @@ struct sigcontext { int sc_mask; /* signal mask to restore */ }; #endif /* __BSD_VISIBLE || __XPG_VISIBLE >= 420 */ -#endif /* _LOCORE */ -#if defined(_LOCORE) || defined(_KERNEL) +#if defined(_KERNEL) /* * `Code' arguments to signal handlers. The names, and the funny numbering. * are defined so as to match up with what SunOS uses; I have no idea why diff --git a/sys/arch/sparc64/sparc64/locore.s b/sys/arch/sparc64/sparc64/locore.s index 2f1c8835115..11ff084d408 100644 --- a/sys/arch/sparc64/sparc64/locore.s +++ b/sys/arch/sparc64/sparc64/locore.s @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.s,v 1.207 2024/03/29 21:11:32 miod Exp $ */ +/* $OpenBSD: locore.s,v 1.208 2024/03/29 21:16:38 miod Exp $ */ /* $NetBSD: locore.s,v 1.137 2001/08/13 06:10:10 jdolecek Exp $ */ /* @@ -67,7 +67,6 @@ #include #include #include -#include #include #include #include -- 2.20.1