summaryrefslogtreecommitdiff
path: root/src/module.c
diff options
context:
space:
mode:
author[email protected] <[email protected]>2010-11-29 13:29:51 +0000
committer[email protected] <[email protected]>2010-11-29 13:29:51 +0000
commit8dfab786e153cbc0bc08fcb837a1d70ab00d1eff (patch)
treeec380f8310ff7536c3d7b926198d467e1370fb28 /src/module.c
parentbd15cf6a7ae84993b4064d2bd4f8d0f66d0c3ba6 (diff)
add FINSH_FUNCTION_EXPORT_ALIAS preprocessor in finsh shell.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1142 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'src/module.c')
-rw-r--r--src/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/module.c b/src/module.c
index 5bab451ac3..a8875126ca 100644
--- a/src/module.c
+++ b/src/module.c
@@ -478,7 +478,7 @@ rt_module_t rt_module_open(const char* filename)
#if defined(RT_USING_FINSH)
#include <finsh.h>
-FINSH_FUNCTION_EXPORT(rt_module_open, load module from file);
+FINSH_FUNCTION_EXPORT_ALIAS(rt_module_open, exec, exec module from file);
#endif
#endif