From a84a320417013dbadd5686cb26df5f793c0c4b85 Mon Sep 17 00:00:00 2001 From: Pierre-Alexandre Meyer Date: Sat, 14 Mar 2009 11:58:31 -0700 Subject: [PATCH] hdt: Make pci_show static Impact: None. pci_show is only used in hdt-cli-pci.c. Let's make it static. Signed-off-by: Pierre-Alexandre Meyer --- com32/hdt/hdt-cli-pci.c | 2 +- com32/hdt/hdt-cli.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/com32/hdt/hdt-cli-pci.c b/com32/hdt/hdt-cli-pci.c index 6b6f519..f5af6ce 100644 --- a/com32/hdt/hdt-cli-pci.c +++ b/com32/hdt/hdt-cli-pci.c @@ -211,7 +211,7 @@ static void show_pci_help() more_printf(" %s \n", CLI_PCI_DEVICE); } -void pci_show(char *item, struct s_hardware *hardware) +static void pci_show(char *item, struct s_hardware *hardware) { if (!strncmp(item, CLI_SHOW_LIST, sizeof(CLI_SHOW_LIST) - 1)) { show_pci_devices(hardware); diff --git a/com32/hdt/hdt-cli.h b/com32/hdt/hdt-cli.h index 647de24..878e80e 100644 --- a/com32/hdt/hdt-cli.h +++ b/com32/hdt/hdt-cli.h @@ -91,7 +91,6 @@ void show_dmi_memory_modules(struct s_hardware *hardware, bool clearscreen, #define CLI_PCI_DEVICE "device" void main_show_pci(struct s_hardware *hardware); void handle_pci_commands(char *cli_line, struct s_hardware *hardware); -void pci_show(char *item, struct s_hardware *hardware); void cli_detect_pci(struct s_hardware *hardware); // CPU STUFF -- 2.7.4