diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-02-07 22:48:06 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-02-07 22:48:06 +0100 |
commit | 25e93b53532bf856ad1f674e36117bbdcffba9a7 (patch) | |
tree | 8c17ed9b4d860b6763f3da6cd8b820a459679316 | |
parent | c947439e44169d4a095c0fa14bada374cbdc64bc (diff) |
Drop unrelated changes
-rw-r--r-- | hurd/hurd/signal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hurd/hurd/signal.h b/hurd/hurd/signal.h index e3e2790a98..e8f3da2b8f 100644 --- a/hurd/hurd/signal.h +++ b/hurd/hurd/signal.h @@ -133,7 +133,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 **) + struct hurd_sigstate **location = (void *) __hurd_threadvar_location (_HURD_THREADVAR_SIGSTATE); if (*location == NULL) *location = _hurd_thread_sigstate (__mach_thread_self ()); @@ -172,7 +172,7 @@ void *_hurd_critical_section_lock (void); _HURD_SIGNAL_H_EXTERN_INLINE void * _hurd_critical_section_lock (void) { - struct hurd_sigstate **location = (struct hurd_sigstate **) + struct hurd_sigstate **location = (void *) __hurd_threadvar_location (_HURD_THREADVAR_SIGSTATE); struct hurd_sigstate *ss = *location; if (ss == NULL) @@ -208,7 +208,7 @@ _hurd_critical_section_unlock (void *our_lock) else { /* It was us who acquired the critical section lock. Unlock it. */ - struct hurd_sigstate *ss = (struct hurd_sigstate *) our_lock; + struct hurd_sigstate *ss = our_lock; sigset_t pending; __spin_lock (&ss->lock); __spin_unlock (&ss->critical_section_lock); |