summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2015-02-14 15:25:44 +0530
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2015-02-16 21:52:13 +0100
commit31b0af2da8120e2b3f176d955eeca034e434b1b7 (patch)
tree67a4813b9366c547766b5fbe3481d4c1da2a542e
parentf74294bd6768af59e33dc14c6fed41f01d0adc5b (diff)
signal.h: elide memset from sigemptyset
Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r--include/signal.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/signal.h b/include/signal.h
index be24cf366..38baaccfb 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 */