diff options
author | Pierre-Alexandre Meyer <pierre@mouraf.org> | 2009-03-14 10:48:53 -0700 |
---|---|---|
committer | Pierre-Alexandre Meyer <pierre@mouraf.org> | 2009-03-14 15:31:20 -0700 |
commit | 1365e6d64a86da17bd4c4c5f5371765174d08730 (patch) | |
tree | 9ad2a285e3cadce2b30ff23ea7032271d9920cb2 /com32/hdt/hdt-cli-syslinux.c | |
parent | 37648dd620891e3da6f7a71be1dbddb0302872ef (diff) | |
download | syslinux-1365e6d64a86da17bd4c4c5f5371765174d08730.tar.gz |
hdt: Remove unused parameter in handle_syslinux_commands
Impact: Signature change.
The cli mode information is already in the function name. No need to pass it
as a parameter. This fixes a compilation warning.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Diffstat (limited to 'com32/hdt/hdt-cli-syslinux.c')
-rw-r--r-- | com32/hdt/hdt-cli-syslinux.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/com32/hdt/hdt-cli-syslinux.c b/com32/hdt/hdt-cli-syslinux.c index 8f195a2b..ec6be674 100644 --- a/com32/hdt/hdt-cli-syslinux.c +++ b/com32/hdt/hdt-cli-syslinux.c @@ -61,12 +61,11 @@ static void syslinux_show(char *item, struct s_hardware *hardware) show_syslinux_help(); } -void handle_syslinux_commands(char *cli_line, struct s_cli_mode *cli_mode, - struct s_hardware *hardware) +void handle_syslinux_commands(char *cli_line, struct s_hardware *hardware) { if (!strncmp(cli_line, CLI_SHOW, sizeof(CLI_SHOW) - 1)) { syslinux_show(strstr(cli_line, "show") + sizeof(CLI_SHOW), - hardware); + hardware); return; } } |