diff options
| author | Bernard Xiong <[email protected]> | 2021-08-25 19:03:52 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-08-25 19:03:52 +0800 |
| commit | bd44c1e5900cae054aebdec1439a11c9258ebaa6 (patch) | |
| tree | 09007f0b2592ef459a07368a2b63cc17fe6129be /include | |
| parent | f3df67d5f3bcca1d4259306fcd0e9396e6d08627 (diff) | |
| parent | 782c288db624da2c818f693b409aacf1b23dd010 (diff) | |
Merge pull request #4970 from cndabai/master
Remove C Style Command Shell
Diffstat (limited to 'include')
| -rw-r--r-- | include/rtdef.h | 1 | ||||
| -rw-r--r-- | include/rtthread.h | 2 |
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 /**@}*/ |
