summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorheyuanjie <[email protected]>2018-06-11 14:26:14 +0800
committerheyuanjie <[email protected]>2018-06-11 14:26:14 +0800
commit28b8e43181f97a480c1fdc4e2b57a319d29ddcfd (patch)
tree391993693064c1580f0e379a2d3d2664d4246895 /components
parentb110d77d8f867d221a1856dc6a701a08b9b12193 (diff)
去除lwp msh命令
Diffstat (limited to 'components')
-rw-r--r--components/lwp/lwp.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/components/lwp/lwp.c b/components/lwp/lwp.c
index 6837e30b53..13e2a8f2ef 100644
--- a/components/lwp/lwp.c
+++ b/components/lwp/lwp.c
@@ -352,13 +352,3 @@ int exec(char *filename)
return -RT_ERROR;
}
-FINSH_FUNCTION_EXPORT(exec, loader a user app &run);
-
-int _exec(int argc, char **argv)
-{
- if (argc != 2)
- return -RT_ERROR;
-
- return exec(argv[1]);
-}
-MSH_CMD_EXPORT_ALIAS(_exec, exec, loader a user app &run);