From e47637e613845311d1284d75f3e6af24d39f1aec Mon Sep 17 00:00:00 2001 From: Pierre-Alexandre Meyer Date: Sat, 14 Mar 2009 13:47:17 -0700 Subject: [PATCH] hdt: Make compute_memory_module static Impact: None. compute_memory_module is only used in hdt-menu-dmi.c. Let's make it static. Signed-off-by: Pierre-Alexandre Meyer --- com32/hdt/hdt-menu-dmi.c | 3 ++- com32/hdt/hdt-menu.h | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/com32/hdt/hdt-menu-dmi.c b/com32/hdt/hdt-menu-dmi.c index 007fd39..7919301 100644 --- a/com32/hdt/hdt-menu-dmi.c +++ b/com32/hdt/hdt-menu-dmi.c @@ -246,7 +246,8 @@ void compute_motherboard(struct s_my_menu *menu, s_dmi * dmi) } /* Compute the Memory submenu */ -void compute_memory_module(struct s_my_menu *menu, s_dmi * dmi, int slot_number) +static void compute_memory_module(struct s_my_menu *menu, s_dmi * dmi, + int slot_number) { int i = slot_number; char buffer[MENULEN + 1]; diff --git a/com32/hdt/hdt-menu.h b/com32/hdt/hdt-menu.h index 59de0ff..fbb21e2 100644 --- a/com32/hdt/hdt-menu.h +++ b/com32/hdt/hdt-menu.h @@ -100,8 +100,6 @@ void compute_system(struct s_my_menu *menu, s_dmi * dmi); void compute_chassis(struct s_my_menu *menu, s_dmi * dmi); void compute_bios(struct s_my_menu *menu, s_dmi * dmi); void compute_memory(struct s_hdt_menu *menu, s_dmi * dmi); -void compute_memory_module(struct s_my_menu *menu, s_dmi * dmi, - int slot_number); // Processor Stuff void compute_processor(struct s_my_menu *menu, struct s_hardware *hardware); -- 2.7.4