aboutsummaryrefslogtreecommitdiff
path: root/kern/boot_script.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/boot_script.c')
-rw-r--r--kern/boot_script.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kern/boot_script.c b/kern/boot_script.c
index b2e9393b..b245d1d8 100644
--- a/kern/boot_script.c
+++ b/kern/boot_script.c
@@ -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);
}
@@ -485,7 +485,7 @@ boot_script_parse_line (void *hook, char *cmdline)
/* Execute commands previously parsed. */
int
-boot_script_exec ()
+boot_script_exec (void)
{
int cmd_index;