summaryrefslogtreecommitdiffstats
path: root/contrib/gcclibs
diff options
context:
space:
mode:
authorbenl <benl@FreeBSD.org>2011-05-22 22:14:15 +0000
committerbenl <benl@FreeBSD.org>2011-05-22 22:14:15 +0000
commit0748b6b611ddc5cc6b7fe23765e871f71af057ee (patch)
treedf4f443993699a080e7964fea084d158400a08a8 /contrib/gcclibs
parenta8b367d89dc9353364f3c0aa1b2fae1030a52423 (diff)
downloadFreeBSD-src-0748b6b611ddc5cc6b7fe23765e871f71af057ee.zip
FreeBSD-src-0748b6b611ddc5cc6b7fe23765e871f71af057ee.tar.gz
Fix clang compile warnings.
Approved by: philip (mentor)
Diffstat (limited to 'contrib/gcclibs')
-rw-r--r--contrib/gcclibs/libiberty/regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gcclibs/libiberty/regex.c b/contrib/gcclibs/libiberty/regex.c
index fa1df19..c24026e 100644
--- a/contrib/gcclibs/libiberty/regex.c
+++ b/contrib/gcclibs/libiberty/regex.c
@@ -149,7 +149,7 @@ char *realloc ();
# include <string.h>
# ifndef bzero
# ifndef _LIBC
-# define bzero(s, n) (memset (s, '\0', n), (s))
+# define bzero(s, n) ((void) (memset (s, '\0', n), (s)))
# else
# define bzero(s, n) __bzero (s, n)
# endif
OpenPOWER on IntegriCloud