From 45a351645adaad5aa40c007bde232affb8f27253 Mon Sep 17 00:00:00 2001 From: Pierre-Alexandre Meyer Date: Sat, 14 Mar 2009 12:49:08 -0700 Subject: [PATCH] hdt: Make main_show_summary static Impact: None. main_show_summary is only used in hdt-cli.c. Let's make it static. Signed-off-by: Pierre-Alexandre Meyer --- com32/hdt/hdt-cli.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/com32/hdt/hdt-cli.c b/com32/hdt/hdt-cli.c index ecf1767..5845722 100644 --- a/com32/hdt/hdt-cli.c +++ b/com32/hdt/hdt-cli.c @@ -256,7 +256,7 @@ int do_exit(struct s_cli_mode *cli_mode) return HDT_MODE; } -void main_show_summary(struct s_hardware *hardware, struct s_cli_mode *cli_mode) +static void main_show_summary(struct s_hardware *hardware) { detect_pci(hardware); /* pxe is detected in the pci */ detect_dmi(hardware); @@ -303,7 +303,7 @@ void main_show(char *item, struct s_hardware *hardware, struct s_cli_mode *cli_mode) { if (!strncmp(item, CLI_SUMMARY, sizeof(CLI_SUMMARY))) { - main_show_summary(hardware, cli_mode); + main_show_summary(hardware); return; } if (!strncmp(item, CLI_PCI, sizeof(CLI_PCI))) { -- 2.7.4