--- Gnu-Mach/kern/boot_script.c 2020/09/02 04:45:20 1.1.1.2 +++ Gnu-Mach/kern/boot_script.c 2020/09/02 04:52:03 1.1.1.4 @@ -76,14 +76,14 @@ create_task (struct cmd *cmd, long *val) /* Resume a task. */ static int -resume_task (struct cmd *cmd, long *val) +resume_task (struct cmd *cmd, const long *val) { return boot_script_task_resume (cmd); } /* Resume a task when the user hits return. */ static int -prompt_resume_task (struct cmd *cmd, long *val) +prompt_resume_task (struct cmd *cmd, const long *val) { return boot_script_prompt_task_resume (cmd); } @@ -294,7 +294,8 @@ boot_script_parse_line (void *hook, char for (p += 2;;) { char c; - int i, type; + unsigned i; + int type; long val; struct sym *s; @@ -485,7 +486,7 @@ boot_script_parse_line (void *hook, char /* Execute commands previously parsed. */ int -boot_script_exec () +boot_script_exec (void) { int cmd_index;