mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-17 15:32:21 +08:00
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:
@@ -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 */
|
||||
|
||||
|
Reference in New Issue
Block a user