strcasecmp, strncasecmp, bzero, bcmp, and bcopy should be defined in strings.h, not string.h. bzero, bcmp, and bcopy are legacy functions; the contemporary counterparts should be used instead.

This commit is contained in:
Gregory Nutt
2017-02-16 15:58:15 -06:00
parent 9b9a321637
commit 81645fe18f
15 changed files with 15 additions and 13 deletions

View File

@@ -304,7 +304,7 @@ static int xmlrpc_parsemethod(struct parsebuf_s * pbuf)
{
int type, ret = XMLRPC_PARSE_ERROR;
bzero((void *)&g_xmlcall, sizeof(struct xmlrpc_s));
memset((void *)&g_xmlcall, 0, sizeof(struct xmlrpc_s));
/* Look for the methodName tag */