summaryrefslogtreecommitdiff
path: root/examples/file/readwrite.c
diff options
context:
space:
mode:
author马志远 <[email protected]>2021-08-23 17:30:05 +0800
committer马志远 <[email protected]>2021-08-23 17:30:05 +0800
commit221da7f464d811955acce96280332d95348fb24f (patch)
tree76d23a38d1fefdb0adfafd3685ccbf72d4d8291c /examples/file/readwrite.c
parenta280fb8f2a1aa7445ad475d94fdc4e3af5b6e071 (diff)
Remove C Style Command Shell
Diffstat (limited to 'examples/file/readwrite.c')
-rw-r--r--examples/file/readwrite.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/file/readwrite.c b/examples/file/readwrite.c
index 56f3b7e16c..9b27da1b01 100644
--- a/examples/file/readwrite.c
+++ b/examples/file/readwrite.c
@@ -147,7 +147,6 @@ __exit:
/* export to finsh */
FINSH_FUNCTION_EXPORT(readwrite, perform file read and write test);
-#ifdef FINSH_USING_MSH
static void cmd_readwrite(int argc, char *argv[])
{
char* filename;
@@ -164,5 +163,4 @@ static void cmd_readwrite(int argc, char *argv[])
readwrite(filename);
}
FINSH_FUNCTION_EXPORT_ALIAS(cmd_readwrite, __cmd_readwrite, perform file read and write test);
-#endif /* FINSH_USING_MSH */
#endif /* RT_USING_FINSH */