[syslinux:master] hdt: Fixing print_history() prototype
syslinux-bot for Erwan Velu
erwanaliasr1 at gmail.com
Wed May 12 15:00:37 PDT 2010
Commit-ID: aa5b96cf400d2485d670b7dcd019cb051bcd9533
Gitweb: http://syslinux.zytor.com/commit/aa5b96cf400d2485d670b7dcd019cb051bcd9533
Author: Erwan Velu <erwanaliasr1 at gmail.com>
AuthorDate: Wed, 12 May 2010 21:46:59 +0200
Committer: H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Wed, 12 May 2010 14:57:03 -0700
hdt: Fixing print_history() prototype
print_history have to follow the exec prototype
---
com32/hdt/hdt-cli.c | 2 +-
com32/hdt/hdt-cli.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/com32/hdt/hdt-cli.c b/com32/hdt/hdt-cli.c
index 76aed78..29cc25b 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 b55d108..d9632b2 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"
More information about the Syslinux-commits
mailing list