aboutsummaryrefslogtreecommitdiffstats
path: root/com32/hdt
diff options
context:
space:
mode:
authorPierre-Alexandre Meyer <pierre@mouraf.org>2009-03-14 13:47:17 -0700
committerPierre-Alexandre Meyer <pierre@mouraf.org>2009-03-14 15:31:24 -0700
commite47637e613845311d1284d75f3e6af24d39f1aec (patch)
tree173fb40e6e5a3100be19cb433199ae7f1b4c653e /com32/hdt
parent95b923e86024a584d94b333ffbdd81b985efbe0e (diff)
downloadsyslinux.git-e47637e613845311d1284d75f3e6af24d39f1aec.tar.gz
syslinux.git-e47637e613845311d1284d75f3e6af24d39f1aec.tar.xz
syslinux.git-e47637e613845311d1284d75f3e6af24d39f1aec.zip
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>
Diffstat (limited to 'com32/hdt')
-rw-r--r--com32/hdt/hdt-menu-dmi.c3
-rw-r--r--com32/hdt/hdt-menu.h2
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);