summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
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 "