]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2005-02-22 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Tue, 22 Feb 2005 23:18:11 +0000 (23:18 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 22 Feb 2005 23:18:11 +0000 (23:18 +0000)
* include/signal.h: Revert last change.
(__sigemptyset): Use __builtin_memset instead of memset.

include/signal.h

index 5f07844f6a743d0a8f823b2c26fbec851e296917..2be67babad3c3f2d7e41d2b3242ffb1b4c554692 100644 (file)
@@ -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.  */