about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-12-28 01:41:24 +0000
committerUlrich Drepper <drepper@redhat.com>2004-12-28 01:41:24 +0000
commita71c152cfce9040addc1474936c2b96382ab9169 (patch)
treedd41a884408daa88ca6c28f1757e50995bfcd734 /include
parentab4b89fe8a6b41b6317e18e0d14c81103f3d98e1 (diff)
downloadglibc-a71c152cfce9040addc1474936c2b96382ab9169.tar.gz
glibc-a71c152cfce9040addc1474936c2b96382ab9169.tar.xz
glibc-a71c152cfce9040addc1474936c2b96382ab9169.zip
Update.
2004-12-27  Ulrich Drepper  <drepper@redhat.com>

	* include/signal.h: Define __sigemptyset.
Diffstat (limited to 'include')
-rw-r--r--include/signal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/signal.h b/include/signal.h
index 104ea8f83a..6ceafe0c73 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -48,6 +48,8 @@ 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.  */
+#define __sigemptyset(ss) (memset (ss, '\0', sizeof (sigset_t)), 0)
 
 
 /* Allocate real-time signal with highest/lowest available priority.  */