Commit dd19cdda by Uros Bizjak

* regex.c (bzero) [!_LIBC]: Cast the call to memcpy to (void).

From-SVN: r208558
parent 39a1ebb3
...@@ -151,7 +151,7 @@ char *realloc (); ...@@ -151,7 +151,7 @@ char *realloc ();
# include <string.h> # include <string.h>
# ifndef bzero # ifndef bzero
# ifndef _LIBC # ifndef _LIBC
# define bzero(s, n) memset (s, '\0', n) # define bzero(s, n) ((void) memset (s, '\0', n))
# else # else
# define bzero(s, n) __bzero (s, n) # define bzero(s, n) __bzero (s, n)
# endif # endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment