From 4be913652ca115160bae1daf560170ef8b112ccb Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 5 Sep 2023 11:58:26 +0200 Subject: hurd: Avoid including thread_state.h in installed header thread_state.h is not actually installed. It was only needed for struct machine_thread_all_state, which we can just declare, actually. --- hurd/hurd/signal.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'hurd') diff --git a/hurd/hurd/signal.h b/hurd/hurd/signal.h index 290c455ad4..4373e589f3 100644 --- a/hurd/hurd/signal.h +++ b/hurd/hurd/signal.h @@ -28,7 +28,6 @@ #include #include #include -#include #include #include #include @@ -185,6 +184,7 @@ _hurd_self_sigstate (void) # endif #endif +struct machine_thread_all_state; extern mach_port_t _hurdsig_abort_rpcs (struct hurd_sigstate *ss, int signo, int sigthread, struct machine_thread_all_state *state, int *state_change, @@ -331,7 +331,6 @@ extern void _hurd_internal_post_signal (struct hurd_sigstate *ss, stack the handler will use, and which describes the state of the thread encoded in STATE before running the handler). */ -struct machine_thread_all_state; extern struct sigcontext * _hurd_setup_sighandler (struct hurd_sigstate *ss, const struct sigaction *action, __sighandler_t handler, -- cgit 1.4.1