public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] hurd: Avoid including thread_state.h in installed header
@ 2023-09-05 9:59 Samuel Thibault
0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2023-09-05 9:59 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=4be913652ca115160bae1daf560170ef8b112ccb
commit 4be913652ca115160bae1daf560170ef8b112ccb
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Tue Sep 5 11:58:26 2023 +0200
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.
Diff:
---
hurd/hurd/signal.h | 3 +--
1 file changed, 1 insertion(+), 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,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-05 9:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-05 9:59 [glibc] hurd: Avoid including thread_state.h in installed header Samuel Thibault
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).