* regex.c (bzero) [!_LIBC]: Cast the call to memcpy to (void).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208558 138bc75d-0d04-0410-961f-82ee72b054a4
This commit is contained in:
parent
10fe779dd2
commit
a2d010462c
@ -151,7 +151,7 @@ char *realloc ();
|
||||
# include <string.h>
|
||||
# ifndef bzero
|
||||
# ifndef _LIBC
|
||||
# define bzero(s, n) memset (s, '\0', n)
|
||||
# define bzero(s, n) ((void) memset (s, '\0', n))
|
||||
# else
|
||||
# define bzero(s, n) __bzero (s, n)
|
||||
# endif
|
||||
|
Loading…
Reference in New Issue
Block a user