aboutsummaryrefslogtreecommitdiffstats
path: root/com32/hdt
diff options
context:
space:
mode:
authorPierre-Alexandre Meyer <pierre@mouraf.org>2009-03-14 12:49:08 -0700
committerPierre-Alexandre Meyer <pierre@mouraf.org>2009-03-14 15:31:23 -0700
commit45a351645adaad5aa40c007bde232affb8f27253 (patch)
tree36c525dae97dbdf5278c4d8e7652b50c280b0b92 /com32/hdt
parente2fe1ea35bab1edb1ae275f5e599f7f006090a5b (diff)
downloadsyslinux.git-45a351645adaad5aa40c007bde232affb8f27253.tar.gz
syslinux.git-45a351645adaad5aa40c007bde232affb8f27253.tar.xz
syslinux.git-45a351645adaad5aa40c007bde232affb8f27253.zip
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 <pierre@mouraf.org>
Diffstat (limited to 'com32/hdt')
-rw-r--r--com32/hdt/hdt-cli.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/com32/hdt/hdt-cli.c b/com32/hdt/hdt-cli.c
index ecf17677..58457224 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))) {