summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
author马志远 <[email protected]>2021-08-23 17:30:05 +0800
committer马志远 <[email protected]>2021-08-23 17:30:05 +0800
commit221da7f464d811955acce96280332d95348fb24f (patch)
tree76d23a38d1fefdb0adfafd3685ccbf72d4d8291c /include
parenta280fb8f2a1aa7445ad475d94fdc4e3af5b6e071 (diff)
Remove C Style Command Shell
Diffstat (limited to 'include')
-rw-r--r--include/rtdef.h1
-rw-r--r--include/rtthread.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/include/rtdef.h b/include/rtdef.h
index 278676bcef..c0fcb8fce1 100644
--- a/include/rtdef.h
+++ b/include/rtdef.h
@@ -277,7 +277,6 @@ typedef int (*init_fn_t)(void);
/* define these to empty, even if not include finsh.h file */
#define FINSH_FUNCTION_EXPORT(name, desc)
#define FINSH_FUNCTION_EXPORT_ALIAS(name, alias, desc)
-#define FINSH_VAR_EXPORT(name, type, desc)
#define MSH_CMD_EXPORT(command, desc)
#define MSH_CMD_EXPORT_ALIAS(command, alias, desc)
diff --git a/include/rtthread.h b/include/rtthread.h
index cf47a48efe..5e02af3f9e 100644
--- a/include/rtthread.h
+++ b/include/rtthread.h
@@ -585,7 +585,7 @@ void rt_assert_handler(const char *ex, const char *func, rt_size_t line);
#endif /* RT_DEBUG */
#ifdef RT_USING_FINSH
-#include <finsh_api.h>
+#include <finsh.h>
#endif
/**@}*/