OSDN Git Service

signal.h: elide memset from sigemptyset
authorVineet Gupta <vgupta@synopsys.com>
Sat, 14 Feb 2015 09:55:44 +0000 (15:25 +0530)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 16 Feb 2015 20:52:13 +0000 (21:52 +0100)
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
include/signal.h

index be24cf3..38baacc 100644 (file)
@@ -493,10 +493,7 @@ extern int __libc_current_sigrtmax (void) __THROW;
 
 #ifdef _LIBC
 extern sigset_t _sigintr attribute_hidden;
-/* simplified version without parameter checking */
 # include <string.h>
-# undef __sigemptyset
-# define __sigemptyset(ss) (memset(ss, '\0', sizeof(sigset_t)), 0)
 #endif
 #endif /* signal.h  */