提交 9f41cbce 编写于 作者: C chenchaoqun

[format] code style of rt_strcmp function

上级 e6b72153
......@@ -456,7 +456,10 @@ RTM_EXPORT(rt_strncmp);
rt_int32_t rt_strcmp(const char *cs, const char *ct)
{
while (*cs && *cs == *ct)
cs++, ct++;
{
cs++;
ct++;
}
return (*cs - *ct);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册