mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-11-09 20:45:41 +08:00
add str_is_prefix function with static attribute
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@58 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
1 parent
a386f191a9
commit
4a5ee34037
1 file changed
+1
-1
+1
-1
@@ -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))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user