Skip to content

Commit a1ac12c

Browse files
author
chenchaoqun
committed
[update] function must have parameter
1 parent e6b7215 commit a1ac12c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bsp/efm32/copy_this_file_shell.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ int isprint(unsigned char ch)
8888

8989
#if defined(RT_USING_DFS) && defined(DFS_USING_WORKDIR)
9090
#include <dfs_posix.h>
91-
const char* finsh_get_prompt()
91+
const char* finsh_get_prompt(void)
9292
{
9393
#define _PROMPT "finsh "
9494
static char finsh_prompt[RT_CONSOLEBUF_SIZE + 1] = {_PROMPT};

components/finsh/shell.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ int finsh_set_prompt(const char * prompt)
101101
#include <dfs_posix.h>
102102
#endif /* RT_USING_DFS */
103103

104-
const char *finsh_get_prompt()
104+
const char *finsh_get_prompt(void)
105105
{
106106
#define _MSH_PROMPT "msh "
107107
#define _PROMPT "finsh "

0 commit comments

Comments
 (0)