aboutsummaryrefslogtreecommitdiffstats
path: root/com32/hdt/hdt-cli.c
diff options
context:
space:
mode:
authorErwan Velu <erwanaliasr1@gmail.com>2010-05-12 21:46:59 +0200
committerH. Peter Anvin <hpa@linux.intel.com>2010-05-12 14:57:03 -0700
commitaa5b96cf400d2485d670b7dcd019cb051bcd9533 (patch)
treee4374b8116a26f24a7f09c5fd124b3bac5f20635 /com32/hdt/hdt-cli.c
parentc8c4ae38a22d9aee14b6664a633588b837e590bd (diff)
downloadsyslinux-aa5b96cf400d2485d670b7dcd019cb051bcd9533.tar.gz
syslinux-aa5b96cf400d2485d670b7dcd019cb051bcd9533.tar.xz
syslinux-aa5b96cf400d2485d670b7dcd019cb051bcd9533.zip
hdt: Fixing print_history() prototype
print_history have to follow the exec prototype
Diffstat (limited to 'com32/hdt/hdt-cli.c')
-rw-r--r--com32/hdt/hdt-cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/hdt/hdt-cli.c b/com32/hdt/hdt-cli.c
index 76aed784..29cc25b2 100644
--- a/com32/hdt/hdt-cli.c
+++ b/com32/hdt/hdt-cli.c
@@ -779,7 +779,7 @@ void start_auto_mode(struct s_hardware *hardware)
more_printf("\n");
}
-void print_history(void)
+void print_history(int argc, char **argv, struct s_hardware * hardware)
{
reset_more_printf();
for (int i = 1; i <= MAX_HISTORY_SIZE; i++) {