summaryrefslogtreecommitdiff
path: root/com32/hdt/hdt-menu-dmi.c
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/hdt-menu-dmi.c
parent95b923e86024a584d94b333ffbdd81b985efbe0e (diff)
downloadsyslinux-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>
Diffstat (limited to 'com32/hdt/hdt-menu-dmi.c')
-rw-r--r--com32/hdt/hdt-menu-dmi.c3
1 files changed, 2 insertions, 1 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];