summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-02-22 23:18:11 +0000
committerRoland McGrath <roland@gnu.org>2005-02-22 23:18:11 +0000
commitbd02f5fc1730c88f1240fe6c0bc45457ed080495 (patch)
tree613fb0eb1e52a31096a638d7b4d7e1aa09136c2b
parent262b5730c044eda3faaea77e03716f0c522ee8e4 (diff)
downloadglibc-bd02f5fc1730c88f1240fe6c0bc45457ed080495.tar.gz
glibc-bd02f5fc1730c88f1240fe6c0bc45457ed080495.tar.xz
glibc-bd02f5fc1730c88f1240fe6c0bc45457ed080495.zip
2005-02-22 Roland McGrath <roland@redhat.com>
	* include/signal.h: Revert last change.
	(__sigemptyset): Use __builtin_memset instead of memset.
-rw-r--r--include/signal.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/signal.h b/include/signal.h
index 5f07844f6a..2be67babad 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -50,8 +50,7 @@ extern int __xpg_sigpause (int sig);
 
 /* Simplified sigemptyset() implementation without the parameter checking.  */
 #undef __sigemptyset
-#include <string.h>
-#define __sigemptyset(ss) (memset (ss, '\0', sizeof (sigset_t)), 0)
+#define __sigemptyset(ss) (__builtin_memset (ss, '\0', sizeof (sigset_t)), 0)
 
 
 /* Allocate real-time signal with highest/lowest available priority.  */