net: lwm2m: cleanup function parameter naming

Don't use names like "strlen" for parameters.  Try and name buffer
parameters consistently.

NOTE: For several functions I removed "const" flag.  This is
intentional and will be needed in upcoming patches.

Signed-off-by: Michael Scott <michael.scott@linaro.org>
This commit is contained in:
Michael Scott 2017-10-11 12:48:06 -07:00 committed by Jukka Rissanen
commit 12072a378f
5 changed files with 57 additions and 57 deletions

View file

@ -1488,9 +1488,9 @@ static int lwm2m_engine_get(char *pathstr, void *buf, u16_t buflen)
return 0;
}
int lwm2m_engine_get_string(char *pathstr, void *str, u16_t strlen)
int lwm2m_engine_get_string(char *pathstr, void *buf, u16_t buflen)
{
return lwm2m_engine_get(pathstr, str, strlen);
return lwm2m_engine_get(pathstr, buf, buflen);
}
u8_t lwm2m_engine_get_u8(char *pathstr)