projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10fe779
)
* regex.c (bzero) [!_LIBC]: Cast the call to memcpy to (void).
author
uros
<uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Mar 2014 22:04:07 +0000
(22:04 +0000)
committer
Tom Tromey
<tromey@redhat.com>
Thu, 8 May 2014 16:18:29 +0000
(10:18 -0600)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208558
138bc75d
-0d04-0410-961f-
82ee72b054a4
libiberty/regex.c
patch
|
blob
|
history
diff --git
a/libiberty/regex.c
b/libiberty/regex.c
index cc9acdc2380c09fa02cfc271a87df568190d2243..16338cb206b455d87d275e778d4590500c213216 100644
(file)
--- 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