diff options
author | Roland McGrath <roland@gnu.org> | 1995-06-14 17:15:57 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-06-14 17:15:57 +0000 |
commit | d6e2f671f716a25188d83350fa517ae9ea29f70f (patch) | |
tree | 174344177defa77e2bbdc3f172ee33e03a933d5f /hurd/hurd/signal.h | |
parent | 5e75b23212343257fda8bea933521b0b7c5cdef6 (diff) |
Wed Jun 14 03:45:24 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* stdio/stdio.h (__validfp): Use ({...}) rather than a comma
expression, to avoid gcc's "value computed is not used" warning.
* libc-symbols.h (_elf_set_element): Give the set-element variable
an `unused' attribute.
* hurd/hurd/threadvar.h (__hurd_threadvar_location): Declare with
__attribute__ ((__const__)).
* hurd/hurd/signal.h (_hurd_self_sigstate): Likewise.
* hurd/hurd/userlink.h (_hurd_userlink_link): Properly set
LINK->resource.next->resource.prevp when appropriate, not
LINK->resource.next->thread.prevp!!!
Diffstat (limited to 'hurd/hurd/signal.h')
-rw-r--r-- | hurd/hurd/signal.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hurd/hurd/signal.h b/hurd/hurd/signal.h index d88d287de3..d28d1c6c11 100644 --- a/hurd/hurd/signal.h +++ b/hurd/hurd/signal.h @@ -98,6 +98,13 @@ extern struct hurd_sigstate *_hurd_thread_sigstate (thread_t); /* Get the sigstate of the current thread. This uses a per-thread variable to optimize the lookup. */ + +extern struct hurd_sigstate *_hurd_self_sigstate (void) + /* This declaration tells the compiler that the value is constant. + We assume this won't be called twice from the same stack frame + by different threads. */ + __attribute__ ((__const__)); + _EXTERN_INLINE struct hurd_sigstate * _hurd_self_sigstate (void) { |