about summary refs log tree commit diff
path: root/hurd/hurdsig.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-05-28 11:17:51 +0200
committerFlorian Weimer <fweimer@redhat.com>2020-05-28 11:40:13 +0200
commita9175662f8cdce65aa9e2c54ea09cbebd1215f7a (patch)
tree373ae534f3f67e1f67f9849f3f64b78720ce3cd1 /hurd/hurdsig.c
parentf9011787497a276f84ef79ae233992692a626dc7 (diff)
downloadglibc-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/hurdsig.c')
-rw-r--r--hurd/hurdsig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c
index 4d819d9af2..3150091e84 100644
--- a/hurd/hurdsig.c
+++ b/hurd/hurdsig.c
@@ -595,8 +595,8 @@ sigset_t _hurdsig_preempted_set;
 weak_alias (_hurdsig_preemptors, _hurdsig_preempters)
 
 /* Mask of stop signals.  */
-#define STOPSIGS (sigmask (SIGTTIN) | sigmask (SIGTTOU) \
-		  | sigmask (SIGSTOP) | sigmask (SIGTSTP))
+#define STOPSIGS (__sigmask (SIGTTIN) | __sigmask (SIGTTOU) \
+		  | __sigmask (SIGSTOP) | __sigmask (SIGTSTP))
 
 /* Actual delivery of a single signal.  Called with SS unlocked.  When
    the signal is delivered, return SS, locked (or, if SS was originally