summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");