aboutsummaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2015-02-07 22:35:35 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-02-07 22:35:35 +0100
commit22395607bcc8caa4dc9cf17f6fd141ea6395fcda (patch)
treecc3c0edd2194c5347c92bc1a9c21d299830357b6 /hurd
parentf05826f07fc48a2dd44bf92170ce6c71b29f7693 (diff)
downloadglibc-22395607bcc8caa4dc9cf17f6fd141ea6395fcda.zip
glibc-22395607bcc8caa4dc9cf17f6fd141ea6395fcda.tar.gz
glibc-22395607bcc8caa4dc9cf17f6fd141ea6395fcda.tar.bz2
hurd: fix compilation of signal.h in C++
Diffstat (limited to 'hurd')
-rw-r--r--hurd/hurd/signal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/hurd/signal.h b/hurd/hurd/signal.h
index e332242..f844f0e 100644
--- a/hurd/hurd/signal.h
+++ b/hurd/hurd/signal.h
@@ -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 ());