diff options
| author | copilot-swe-agent[bot] <[email protected]> | 2025-11-16 14:05:44 +0000 |
|---|---|---|
| committer | copilot-swe-agent[bot] <[email protected]> | 2025-11-16 14:05:44 +0000 |
| commit | 9b599821124126983382c1977babcb93641a566d (patch) | |
| tree | 21f90039fad0c1ec55572459cf477a6adc7445ac /bsp/simulator | |
| parent | da867222e98e49a3c1e4f2bd60256a289f10c1ee (diff) | |
Remove all FINSH_FUNCTION_EXPORT_ALIAS calls and definitionscopilot/clean-up-finsh-function-code
Co-authored-by: BernardXiong <[email protected]>
Diffstat (limited to 'bsp/simulator')
| -rwxr-xr-x | bsp/simulator/drivers/board.c | 1 | ||||
| -rw-r--r-- | bsp/simulator/drivers/module_win32.c | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/bsp/simulator/drivers/board.c b/bsp/simulator/drivers/board.c index 5d66ae231c..b47e8dc2d7 100755 --- a/bsp/simulator/drivers/board.c +++ b/bsp/simulator/drivers/board.c @@ -84,7 +84,6 @@ void rt_hw_exit(void) #if defined(RT_USING_FINSH) #include <finsh.h> -FINSH_FUNCTION_EXPORT_ALIAS(rt_hw_exit, exit, exit rt - thread); MSH_CMD_EXPORT_ALIAS(rt_hw_exit, quit, exit rt-thread); #endif /* RT_USING_FINSH */ diff --git a/bsp/simulator/drivers/module_win32.c b/bsp/simulator/drivers/module_win32.c index 183497f5c6..0d4abd22ec 100644 --- a/bsp/simulator/drivers/module_win32.c +++ b/bsp/simulator/drivers/module_win32.c @@ -347,11 +347,6 @@ rt_module_t rt_module_open(const char *path) /* FreeLibrary(hinstlib); */ } -#if defined(RT_USING_FINSH) -#include <finsh.h> -FINSH_FUNCTION_EXPORT_ALIAS(rt_module_open, exec, exec module from a file); -#endif - #endif #define RT_MODULE_ARG_MAX 8 |
