aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErwan Velu <erwanaliasr1@gmail.com>2010-05-12 21:46:59 +0200
committerErwan Velu <erwanaliasr1@gmail.com>2010-05-12 21:51:18 +0200
commit357eabf614ded34a4697da67402f4dd923c3c6a9 (patch)
treee4374b8116a26f24a7f09c5fd124b3bac5f20635
parent8fd94912c3ad300bdab2929603d27ae20de5914b (diff)
downloadcontrib-357eabf614ded34a4697da67402f4dd923c3c6a9.tar.gz
contrib-357eabf614ded34a4697da67402f4dd923c3c6a9.tar.xz
contrib-357eabf614ded34a4697da67402f4dd923c3c6a9.zip
hdt: Fixing print_history() prototype
print_history have to follow the exec prototype
-rw-r--r--com32/hdt/hdt-cli.c2
-rw-r--r--com32/hdt/hdt-cli.h2
2 files changed, 2 insertions, 2 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++) {
diff --git a/com32/hdt/hdt-cli.h b/com32/hdt/hdt-cli.h
index b55d108a..d9632b2d 100644
--- a/com32/hdt/hdt-cli.h
+++ b/com32/hdt/hdt-cli.h
@@ -160,7 +160,7 @@ void start_auto_mode(struct s_hardware *hardware);
void main_show(char *item, struct s_hardware *hardware);
#define CLI_HISTORY "history"
-void print_history(void);
+void print_history(int argc, char **argv, struct s_hardware * hardware);
// DMI STUFF
#define CLI_DMI_BASE_BOARD "base_board"