summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2020-07-27 17:57:28 +0800
committerGitHub <[email protected]>2020-07-27 17:57:28 +0800
commitfa599be08cb79b16d9bdb1456e195ac134b0f34f (patch)
tree1f2e56343aca8a15e211f95865e0f526561d8333 /components
parent7f84ac875e1010f324958559a7d3b62df553e48f (diff)
parenta1ac12c1f1fbcd0a56cf1737ca9d63946b923078 (diff)
Merge pull request #3767 from ErnestChen1/function_parameter
[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 "