From 180fe28146981ce27a7f15b1639df32e684dd534 Mon Sep 17 00:00:00 2001 From: Erwan Velu Date: Tue, 17 Mar 2009 10:31:00 +0100 Subject: [PATCH] hdt: putting some vesa function static Impact: none Signed-off-by: Pierre-Alexandre Meyer --- com32/hdt/hdt-cli-vesa.c | 4 ++-- com32/hdt/hdt-menu-vesa.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/com32/hdt/hdt-cli-vesa.c b/com32/hdt/hdt-cli-vesa.c index 507a3ab..e6843ee 100644 --- a/com32/hdt/hdt-cli-vesa.c +++ b/com32/hdt/hdt-cli-vesa.c @@ -66,11 +66,11 @@ void show_vesa_modes(struct s_hardware *hardware) { } } -void show_vesa_help() { +static void show_vesa_help() { more_printf("Show supports the following commands : %s %s\n",CLI_SHOW_LIST, CLI_MODES); } -void vesa_show(char *item, struct s_hardware *hardware) { +static void vesa_show(char *item, struct s_hardware *hardware) { if ( !strncmp(item, CLI_SHOW_LIST, sizeof(CLI_SHOW_LIST) - 1) ) { main_show_vesa(hardware); return; diff --git a/com32/hdt/hdt-menu-vesa.c b/com32/hdt/hdt-menu-vesa.c index d969a29..345d74b 100644 --- a/com32/hdt/hdt-menu-vesa.c +++ b/com32/hdt/hdt-menu-vesa.c @@ -30,7 +30,7 @@ /* Submenu for the vesa card */ -void compute_vesa_card(struct s_my_menu *menu, struct s_hardware *hardware) { +static void compute_vesa_card(struct s_my_menu *menu, struct s_hardware *hardware) { char buffer[SUBMENULEN+1]; char statbuffer[STATLEN+1]; -- 2.7.4