提交 4a5ee340 编写于 作者: B bernard.xiong

add str_is_prefix function with static attribute

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@58 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 a386f191
......@@ -369,7 +369,7 @@ int list()
}
FINSH_FUNCTION_EXPORT(list, list all symbol in system)
int str_is_prefix(const char* prefix, const char* str)
static int str_is_prefix(const char* prefix, const char* str)
{
while ((*prefix) && (*prefix == *str))
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册