diff options
author | Florian Weimer <fweimer@redhat.com> | 2020-05-28 11:17:51 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2020-05-28 11:40:13 +0200 |
commit | a9175662f8cdce65aa9e2c54ea09cbebd1215f7a (patch) | |
tree | 373ae534f3f67e1f67f9849f3f64b78720ce3cd1 /hurd/hurd | |
parent | f9011787497a276f84ef79ae233992692a626dc7 (diff) | |
download | glibc-a9175662f8cdce65aa9e2c54ea09cbebd1215f7a.tar.gz glibc-a9175662f8cdce65aa9e2c54ea09cbebd1215f7a.tar.xz glibc-a9175662f8cdce65aa9e2c54ea09cbebd1215f7a.zip |
Hurd: Use __sigmask in favor of deprecated sigmask
This fixes various build errors due to deprecation warnings. Fixes commit 02802fafcf6e11ea3f998f685035ffe568dfddeb ("signal: Deprecate additional legacy signal handling functions"). Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'hurd/hurd')
-rw-r--r-- | hurd/hurd/sigpreempt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/hurd/sigpreempt.h b/hurd/hurd/sigpreempt.h index 2591c472d3..4ab5b1369f 100644 --- a/hurd/hurd/sigpreempt.h +++ b/hurd/hurd/sigpreempt.h @@ -51,7 +51,7 @@ struct hurd_signal_preemptor }; #define HURD_PREEMPT_SIGNAL_P(preemptor, signo, sigcode) \ - (((preemptor)->signals & sigmask (signo)) \ + (((preemptor)->signals & __sigmask (signo)) \ && (sigcode) >= (preemptor)->first && (sigcode) <= (preemptor)->last) |