about summary refs log tree commit diff
path: root/sysdeps/generic
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 /sysdeps/generic
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 'sysdeps/generic')
-rw-r--r--sysdeps/generic/sigset-cvt-mask.h4
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;
     }