about summary refs log tree commit diff
path: root/hurd
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-09-05 11:58:26 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-09-05 11:58:26 +0200
commit4be913652ca115160bae1daf560170ef8b112ccb (patch)
tree8fd7e373f11c2a3af840e4cf1fac6682bfce9ade /hurd
parent6333a6014f32c7ced36ced610d5a5cecbafba6c3 (diff)
downloadglibc-4be913652ca115160bae1daf560170ef8b112ccb.tar.gz
glibc-4be913652ca115160bae1daf560170ef8b112ccb.tar.xz
glibc-4be913652ca115160bae1daf560170ef8b112ccb.zip
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.
Diffstat (limited to 'hurd')
-rw-r--r--hurd/hurd/signal.h3
1 files changed, 1 insertions, 2 deletions
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 <mach/mach_types.h>
 #include <mach/port.h>
 #include <mach/message.h>
-#include <thread_state.h>
 #include <hurd/hurd_types.h>
 #include <signal.h>
 #include <errno.h>
@@ -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,