Fix clang compile warnings.
Approved by: philip (mentor)
This commit is contained in:
parent
e3071102d6
commit
7d214dd4e2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=222203
@ -149,7 +149,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), (s))
|
# define bzero(s, n) ((void) (memset (s, '\0', n), (s)))
|
||||||
# else
|
# else
|
||||||
# define bzero(s, n) __bzero (s, n)
|
# define bzero(s, n) __bzero (s, n)
|
||||||
# endif
|
# endif
|
||||||
|
Loading…
Reference in New Issue
Block a user