summaryrefslogtreecommitdiff
path: root/components/dfs
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2022-11-18 14:37:05 -0500
committerMan, Jianting (Meco) <[email protected]>2022-11-21 21:39:45 -0500
commit84eab69604df689716b54e1e6c38877f05d03b9f (patch)
treef9fc9d6fa262c20f0629f3bf3ab3d0436f662003 /components/dfs
parent10451fb95b55db57413e62aa34f9bcca7042dd9f (diff)
[msh] remove list_xxx commands, use 'list' to replace
Diffstat (limited to 'components/dfs')
-rw-r--r--components/dfs/src/dfs.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/components/dfs/src/dfs.c b/components/dfs/src/dfs.c
index 284a662812..f1d7571c0c 100644
--- a/components/dfs/src/dfs.c
+++ b/components/dfs/src/dfs.c
@@ -520,7 +520,6 @@ struct dfs_fdtable *dfs_fdtable_get(void)
}
#ifdef RT_USING_FINSH
-#include <finsh.h>
int list_fd(void)
{
int index;
@@ -566,7 +565,6 @@ int list_fd(void)
return 0;
}
-MSH_CMD_EXPORT(list_fd, list file descriptor);
-#endif
-/*@}*/
+#endif /* RT_USING_FINSH */
+/*@}*/