summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorchenchaoqun <[email protected]>2020-07-24 15:19:12 +0800
committerchenchaoqun <[email protected]>2020-07-24 15:20:12 +0800
commita1ac12c1f1fbcd0a56cf1737ca9d63946b923078 (patch)
tree8753f92e60850facc6a59d57d01bd88c0c1bfb7f /components
parente6b72153b440ae6eb9cf98bdc44c29903042373f (diff)
[update] function must have parameter
Diffstat (limited to 'components')
-rw-r--r--components/finsh/shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/finsh/shell.c b/components/finsh/shell.c
index 852d3e7ac7..61f0b9562e 100644
--- a/components/finsh/shell.c
+++ b/components/finsh/shell.c
@@ -101,7 +101,7 @@ int finsh_set_prompt(const char * prompt)
#include <dfs_posix.h>
#endif /* RT_USING_DFS */
-const char *finsh_get_prompt()
+const char *finsh_get_prompt(void)
{
#define _MSH_PROMPT "msh "
#define _PROMPT "finsh "