]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2004-12-27 Ulrich Drepper <drepper@redhat.com>
authorRoland McGrath <roland@gnu.org>
Wed, 16 Feb 2005 09:20:41 +0000 (09:20 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 16 Feb 2005 09:20:41 +0000 (09:20 +0000)
[BZ #744]
* include/signal.h: Define __sigemptyset.

include/signal.h

index 104ea8f83ae46a383308783095bb519138b64402..dc1e0a12e5b6205aca48c5fdd429a406157a6bbc 100644 (file)
@@ -48,6 +48,9 @@ extern int __sigpause (int sig_or_mask, int is_sig);
 extern int __default_sigpause (int mask);
 extern int __xpg_sigpause (int sig);
 
+/* Simplified sigemptyset() implementation without the parameter checking.  */
+#undef __sigemptyset
+#define __sigemptyset(ss) (memset (ss, '\0', sizeof (sigset_t)), 0)
 
 
 /* Allocate real-time signal with highest/lowest available priority.  */