Bladeren bron

As noticed by egor duda, current_menu is declared as 'extern struct menu
*current_menu;' in scripts/config/lkc.h line 63, and this conflicts with
static definition in mconf.c.

Eric Andersen 19 jaren geleden
bovenliggende
commit
32e42245b3
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      extra/config/mconf.c

+ 1 - 1
extra/config/mconf.c

@@ -101,7 +101,7 @@ static char filename[PATH_MAX+1] = ".config";
 static int indent = 0;
 static struct termios ios_org;
 static int rows, cols;
-static struct menu *current_menu;
+struct menu *current_menu;
 static int child_count;
 static int single_menu_mode;