From: Pierre-Alexandre Meyer Date: Sat, 14 Mar 2009 19:49:08 +0000 (-0700) Subject: hdt: Make main_show_summary static X-Git-Tag: syslinux-3.74-pre12~49 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=45a351645adaad5aa40c007bde232affb8f27253;p=platform%2Fupstream%2Fsyslinux.git 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 --- 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))) {