diff options
author | Florian Weimer <fweimer@redhat.com> | 2020-05-28 11:19:04 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2020-05-28 11:40:13 +0200 |
commit | 6321f9e5e8a7953095183c1ae41ed3ccf5a0cdd3 (patch) | |
tree | a4bb2e921d2d50d950723821d663716cc42be05f /hurd | |
parent | a9175662f8cdce65aa9e2c54ea09cbebd1215f7a (diff) | |
download | glibc-6321f9e5e8a7953095183c1ae41ed3ccf5a0cdd3.tar.gz glibc-6321f9e5e8a7953095183c1ae41ed3ccf5a0cdd3.tar.xz glibc-6321f9e5e8a7953095183c1ae41ed3ccf5a0cdd3.zip |
Hurd: Move <hurd/sigpreempt.h> internals into wrapper header
_hurdsig_preemptors and _hurdsig_preempted_set are not ABI symbols, so do not declare them. HURD_PREEMPT_SIGNAL_P is an implementation detail, so move it as well. Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'hurd')
-rw-r--r-- | hurd/hurd/sigpreempt.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/hurd/hurd/sigpreempt.h b/hurd/hurd/sigpreempt.h index 4ab5b1369f..8cbf66a198 100644 --- a/hurd/hurd/sigpreempt.h +++ b/hurd/hurd/sigpreempt.h @@ -50,16 +50,6 @@ struct hurd_signal_preemptor struct hurd_signal_preemptor *next; /* List structure. */ }; -#define HURD_PREEMPT_SIGNAL_P(preemptor, signo, sigcode) \ - (((preemptor)->signals & __sigmask (signo)) \ - && (sigcode) >= (preemptor)->first && (sigcode) <= (preemptor)->last) - - -/* Signal preemptors applying to all threads; locked by _hurd_siglock. */ -extern struct hurd_signal_preemptor *_hurdsig_preemptors; -extern sigset_t _hurdsig_preempted_set; - - /* The caller must initialize all members of *PREEMPTOR except `next'. The preemptor is registered on the global list. */ void hurd_preempt_signals (struct hurd_signal_preemptor *preemptor); |