fix: 规范整改

Signed-off-by: zhushengle <zhushengle@huawei.com>
Change-Id: I7be78853291d53636fd199104b4c72bbab222bcd
This commit is contained in:
zhushengle
2022-03-19 15:26:10 +08:00
parent a42ba7aed6
commit a09d4882c4
42 changed files with 46 additions and 77 deletions

1
components/shell/src/base/shcmd.c Executable file → Normal file
View File

@@ -98,6 +98,7 @@ LITE_OS_SEC_TEXT_MINOR UINT32 OsCmdKeyShift(const CHAR *cmdKey, CHAR *cmdOut, UI
PRINTK("malloc failure in %s[%d]", __FUNCTION__, __LINE__);
return (UINT32)OS_ERROR;
}
(VOID)memset_s(output, len + 1, 0, len + 1);
/* Backup the 'output' start address */
outputBak = output;
/* Scan each charactor in 'cmdKey',and squeeze the overmuch space and ignore invaild charactor */

0
components/shell/src/base/shcmdparse.c Executable file → Normal file
View File

0
components/shell/src/base/show.c Executable file → Normal file
View File

0
components/shell/src/cmds/date_shell.c Executable file → Normal file
View File

0
components/shell/src/cmds/fullpath.c Executable file → Normal file
View File

0
components/shell/src/cmds/mempt_shellcmd.c Executable file → Normal file
View File

0
components/shell/src/cmds/shell_shellcmd.c Executable file → Normal file
View File

0
components/shell/src/cmds/task_shellcmd.c Executable file → Normal file
View File

0
components/shell/src/cmds/vfs_shellcmd.c Executable file → Normal file
View File