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:
parent
9b643e2be7
commit
12072a378f
5 changed files with 57 additions and 57 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue