From: Uros Bizjak Date: Thu, 13 Mar 2014 22:04:07 +0000 (+0100) Subject: * regex.c (bzero) [!_LIBC]: Cast the call to memcpy to (void). X-Git-Tag: releases/gcc-4.9.0~459 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dd19cdda76767f71f2ea8b06e40baa4746fb8470;p=thirdparty%2Fgcc.git * regex.c (bzero) [!_LIBC]: Cast the call to memcpy to (void). From-SVN: r208558 --- diff --git a/libiberty/regex.c b/libiberty/regex.c index cc9acdc2380c..16338cb206b4 100644 --- a/libiberty/regex.c +++ b/libiberty/regex.c @@ -151,7 +151,7 @@ char *realloc (); # include # 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