diff options
author | Pierre-Alexandre Meyer <pierre@mouraf.org> | 2009-03-14 13:47:17 -0700 |
---|---|---|
committer | Pierre-Alexandre Meyer <pierre@mouraf.org> | 2009-03-14 15:31:24 -0700 |
commit | e47637e613845311d1284d75f3e6af24d39f1aec (patch) | |
tree | 173fb40e6e5a3100be19cb433199ae7f1b4c653e | |
parent | 95b923e86024a584d94b333ffbdd81b985efbe0e (diff) | |
download | syslinux-e47637e613845311d1284d75f3e6af24d39f1aec.tar.gz |
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 <pierre@mouraf.org>
-rw-r--r-- | com32/hdt/hdt-menu-dmi.c | 3 | ||||
-rw-r--r-- | 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 007fd39d..79193019 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 59de0ff8..fbb21e26 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); |