summaryrefslogtreecommitdiff
path: root/bsp/efm32
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 /bsp/efm32
parente6b72153b440ae6eb9cf98bdc44c29903042373f (diff)
[update] function must have parameter
Diffstat (limited to 'bsp/efm32')
-rw-r--r--bsp/efm32/copy_this_file_shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/efm32/copy_this_file_shell.c b/bsp/efm32/copy_this_file_shell.c
index 24c2644e1e..45ce3cb45a 100644
--- a/bsp/efm32/copy_this_file_shell.c
+++ b/bsp/efm32/copy_this_file_shell.c
@@ -88,7 +88,7 @@ int isprint(unsigned char ch)
#if defined(RT_USING_DFS) && defined(DFS_USING_WORKDIR)
#include <dfs_posix.h>
-const char* finsh_get_prompt()
+const char* finsh_get_prompt(void)
{
#define _PROMPT "finsh "
static char finsh_prompt[RT_CONSOLEBUF_SIZE + 1] = {_PROMPT};