[git commit] signal.h: elide memset from sigemptyset

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Mon Feb 16 20:52:13 UTC 2015


commit: http://git.uclibc.org/uClibc/commit/?id=31b0af2da8120e2b3f176d955eeca034e434b1b7
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Signed-off-by: Vineet Gupta <vgupta at synopsys.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 include/signal.h |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/include/signal.h b/include/signal.h
index be24cf3..38baacc 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  */
 


More information about the uClibc-cvs mailing list