hdt: putting some vesa function static
authorErwan Velu <erwan.velu@free.fr>
Tue, 17 Mar 2009 09:31:00 +0000 (10:31 +0100)
committerErwan Velu <erwan.velu@free.fr>
Tue, 17 Mar 2009 09:31:00 +0000 (10:31 +0100)
Impact: none

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
com32/hdt/hdt-cli-vesa.c
com32/hdt/hdt-menu-vesa.c

index 507a3ab..e6843ee 100644 (file)
@@ -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;
index d969a29..345d74b 100644 (file)
@@ -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];