diff mbox

[8/8] signal.h: elide memset from sigemptyset

Message ID 1423907744-2394-9-git-send-email-vgupta@synopsys.com
State Accepted
Commit 31b0af2da8120e2b3f176d955eeca034e434b1b7
Headers show

Commit Message

Vineet Gupta Feb. 14, 2015, 9:55 a.m. UTC
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
---
 include/signal.h | 3 ---
 1 file changed, 3 deletions(-)
diff mbox

Patch

diff --git a/include/signal.h b/include/signal.h
index be24cf366292..38baaccfbc61 100644
--- a/include/signal.h
+++ b/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  */