We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6b7215 commit a1ac12cCopy full SHA for a1ac12c
bsp/efm32/copy_this_file_shell.c
@@ -88,7 +88,7 @@ int isprint(unsigned char ch)
88
89
#if defined(RT_USING_DFS) && defined(DFS_USING_WORKDIR)
90
#include <dfs_posix.h>
91
-const char* finsh_get_prompt()
+const char* finsh_get_prompt(void)
92
{
93
#define _PROMPT "finsh "
94
static char finsh_prompt[RT_CONSOLEBUF_SIZE + 1] = {_PROMPT};
components/finsh/shell.c
@@ -101,7 +101,7 @@ int finsh_set_prompt(const char * prompt)
101
102
#endif /* RT_USING_DFS */
103
104
-const char *finsh_get_prompt()
+const char *finsh_get_prompt(void)
105
106
#define _MSH_PROMPT "msh "
107
0 commit comments