[style] make parameter names consistent across decls and defs (#3705)

This commit is contained in:
Jonathan Hui
2019-03-21 09:52:32 -07:00
committed by Jonathan Hui
parent d32ca03a8b
commit 49c4b63491
53 changed files with 354 additions and 348 deletions
+3 -3
View File
@@ -88,14 +88,14 @@ exit:
return error;
}
otError otThreadGetLeaderRloc(otInstance *aInstance, otIp6Address *aAddress)
otError otThreadGetLeaderRloc(otInstance *aInstance, otIp6Address *aLeaderRloc)
{
otError error;
Instance &instance = *static_cast<Instance *>(aInstance);
VerifyOrExit(aAddress != NULL, error = OT_ERROR_INVALID_ARGS);
VerifyOrExit(aLeaderRloc != NULL, error = OT_ERROR_INVALID_ARGS);
error = instance.GetThreadNetif().GetMle().GetLeaderAddress(*static_cast<Ip6::Address *>(aAddress));
error = instance.GetThreadNetif().GetMle().GetLeaderAddress(*static_cast<Ip6::Address *>(aLeaderRloc));
exit:
return error;