Hello,

Although the parameters are unused, that is the way the functions are
called by boot_script_parse_line, so we should keep reflecting that.

Samuel

Ahmed Khider, le dim. 22 nov. 2026 17:12:48 +0300, a ecrit:
> From: Nomdas <[email protected]>
> 
> ---
>  boot/boot_script.c   | 4 ++--
>  boot/userland-boot.c | 2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/boot/boot_script.c b/boot/boot_script.c
> index 340ccc89..2646ae3b 100644
> --- a/boot/boot_script.c
> +++ b/boot/boot_script.c
> @@ -79,14 +79,14 @@ create_task (struct cmd *cmd, intptr_t *val)
>  
>  /* Resume a task.  */
>  static int
> -resume_task (struct cmd *cmd, intptr_t *val)
> +resume_task (struct cmd *cmd)
>  {
>    return boot_script_task_resume (cmd);
>  }
>  
>  /* Resume a task when the user hits return.  */
>  static int
> -prompt_resume_task (struct cmd *cmd, intptr_t *val)
> +prompt_resume_task (struct cmd *cmd)
>  {
>    return boot_script_prompt_task_resume (cmd);
>  }
> diff --git a/boot/userland-boot.c b/boot/userland-boot.c
> index 4bbfbbb6..7f90caa5 100644
> --- a/boot/userland-boot.c
> +++ b/boot/userland-boot.c
> @@ -43,7 +43,7 @@ boot_script_malloc (unsigned int size)
>  }
>  
>  void
> -boot_script_free (void *ptr, unsigned int size)
> +boot_script_free (void *ptr)
>  {
>    free (ptr);
>  }
> -- 
> 2.47.3

Reply via email to