hdt: Make main_show_summary static
authorPierre-Alexandre Meyer <pierre@mouraf.org>
Sat, 14 Mar 2009 19:49:08 +0000 (12:49 -0700)
committerPierre-Alexandre Meyer <pierre@mouraf.org>
Sat, 14 Mar 2009 22:31:23 +0000 (15:31 -0700)
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>
com32/hdt/hdt-cli.c

index ecf1767..5845722 100644 (file)
@@ -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))) {