* SPDX-License-Identifier: GPL-2.0
*/
-#include "common.h"
-#include <string.h>
-#include <stdio.h>
+#include "cmd_run.h"
#include "ff.h"
-#include "config.h"
-#include "command.h"
#include "cli_readline.h" /* console_buffer[] */
#include "cli.h" /* run_command() */
#include "env.h"
-command_ret_t do_run(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+command_ret_t do_run(cmd_tbl_t *cmdtp, uint_fast8_t flag, int argc, char * const argv[])
{
int i;
(void) cmdtp;
return CMD_RET_SUCCESS;
}
-static int source(FIL *fp, int flag, int argc, char * const argv[])
+static int source(FIL *fp, uint_fast8_t flag, int argc, char * const argv[])
{
int lineno = 0;
int res = 0;
return !f_eof(fp) || res;
}
-command_ret_t do_source(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+command_ret_t do_source(cmd_tbl_t *cmdtp, uint_fast8_t flag, int argc, char * const argv[])
{
FIL File;
int res;