diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-03-13 22:04:07 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-05-08 10:18:29 -0600 |
commit | a2d010462ce99a4fc79fb19c31915f86fafeea43 (patch) | |
tree | aa21c77ac36421b9902acd15916b05a08f2f7eca /libiberty | |
parent | 10fe779dd24e3809070b5b634214a9c7d8b11814 (diff) | |
download | gdb-a2d010462ce99a4fc79fb19c31915f86fafeea43.zip gdb-a2d010462ce99a4fc79fb19c31915f86fafeea43.tar.gz gdb-a2d010462ce99a4fc79fb19c31915f86fafeea43.tar.bz2 |
* 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
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/regex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/regex.c b/libiberty/regex.c index cc9acdc..16338cb 100644 --- a/libiberty/regex.c +++ b/libiberty/regex.c @@ -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 |