mirror of
https://git.busybox.net/uClibc
synced 2025-10-14 01:32:00 +08:00
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>
This commit is contained in:

committed by
Bernhard Reutner-Fischer

parent
f74294bd67
commit
31b0af2da8
@@ -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 */
|
||||
|
||||
|
Reference in New Issue
Block a user