!347 去掉没有使用的入参consoleid。

Merge pull request !347 from pef/tocommit2
This commit is contained in:
openharmony_ci
2021-10-19 01:53:57 +00:00
committed by Gitee
3 changed files with 3 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ extern "C" {
#endif /* __cplusplus */
extern CHAR *OsShellGetWorkingDirtectory(VOID);
extern UINT32 OsShellInit(INT32 consoleId);
extern UINT32 OsShellInit(VOID);
extern INT32 OsShellDeinit(INT32 consoleId);
static inline void SetErrno(int errcode)

View File

@@ -213,7 +213,7 @@ LITE_OS_SEC_TEXT_MINOR VOID ExecCmdline(const CHAR *cmdline)
return;
}
OsShellInit(0);
(VOID)OsShellInit();
/* strip out unnecessary characters */
ret = PreHandleCmdline(cmdline, &output, &outputlen);

View File

@@ -46,7 +46,7 @@ STATIC UINT32 OsShellCmdInit(VOID)
return OsShellSysCmdRegister();
}
UINT32 OsShellInit(INT32 consoleId)
UINT32 OsShellInit(VOID)
{
if (g_shellSourceFlag == FALSE) {
UINT32 ret = OsShellCmdInit();