hurd: fix compilation of signal.h in C++
This commit is contained in:
parent
f05826f07f
commit
22395607bc
@ -27,6 +27,8 @@
|
||||
__mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
|
||||
* hurd/hurdselect.c (_hurd_select): Remove unreachable check for
|
||||
MACH_RCV_TIMED_OUT.
|
||||
* hurd/hurd/signal.h (_hurd_self_sigstate): Explicit cast from void *
|
||||
to struct hurd_sigstate **.
|
||||
|
||||
[BZ #4719]
|
||||
* sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
|
||||
|
@ -132,7 +132,7 @@ extern struct hurd_sigstate *_hurd_self_sigstate (void)
|
||||
_HURD_SIGNAL_H_EXTERN_INLINE struct hurd_sigstate *
|
||||
_hurd_self_sigstate (void)
|
||||
{
|
||||
struct hurd_sigstate **location =
|
||||
struct hurd_sigstate **location = (struct hurd_sigstate **)
|
||||
(void *) __hurd_threadvar_location (_HURD_THREADVAR_SIGSTATE);
|
||||
if (*location == NULL)
|
||||
*location = _hurd_thread_sigstate (__mach_thread_self ());
|
||||
|
Loading…
Reference in New Issue
Block a user