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 /sysdeps/generic | |
parent | f9011787497a276f84ef79ae233992692a626dc7 (diff) | |
download | glibc-a9175662f8cdce65aa9e2c54ea09cbebd1215f7a.tar glibc-a9175662f8cdce65aa9e2c54ea09cbebd1215f7a.tar.gz glibc-a9175662f8cdce65aa9e2c54ea09cbebd1215f7a.tar.bz2 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 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/sigset-cvt-mask.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/sigset-cvt-mask.h b/sysdeps/generic/sigset-cvt-mask.h index 16c655d8e9..ad2a4a4337 100644 --- a/sysdeps/generic/sigset-cvt-mask.h +++ b/sysdeps/generic/sigset-cvt-mask.h @@ -37,7 +37,7 @@ sigset_set_old_mask (sigset_t *set, int mask) return -1; for (__sig = 1; __sig < NSIG && __sig <= sizeof (mask) * 8; __sig++) - if (mask & sigmask (__sig)) + if (mask & __sigmask (__sig)) if (__sigaddset (set, __sig) < 0) return -1; } @@ -58,7 +58,7 @@ sigset_get_old_mask (const sigset_t *set) for (sig = 1; sig < NSIG && sig <= sizeof (mask) * 8; sig++) if (__sigismember (set, sig)) - mask |= sigmask (sig); + mask |= __sigmask (sig); return mask; } |