summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2020-05-29 06:47:54 +0800
committerGitHub <[email protected]>2020-05-29 06:47:54 +0800
commit32714439f07616c82244ca47e4dd9327e87ae638 (patch)
tree99caa8d66b9b882cb50e1df49757159b7e193f23 /components
parentcadd6d73ea9156b90871703e532e3607f11cc45a (diff)
parentc0a4da7c5b2b6bd6172d098734fead858d6ce58d (diff)
Merge pull request #3634 from jch12138/master
添加static前缀,防止与用户自定函数冲突
Diffstat (limited to 'components')
-rw-r--r--components/finsh/cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/finsh/cmd.c b/components/finsh/cmd.c
index 9743bfd18b..d764ea4231 100644
--- a/components/finsh/cmd.c
+++ b/components/finsh/cmd.c
@@ -49,7 +49,7 @@ long hello(void)
}
FINSH_FUNCTION_EXPORT(hello, say hello world);
-long clear(void)
+static long clear(void)
{
rt_kprintf("\x1b[2J\x1b[H");