Explorar el Código

signal.h: elide memset from sigemptyset

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Vineet Gupta hace 9 años
padre
commit
6007a0d8e8
Se han modificado 1 ficheros con 0 adiciones y 3 borrados
  1. 0 3
      include/signal.h

+ 0 - 3
include/signal.h

@@ -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  */