As noticed by egor duda, current_menu is declared as 'extern struct menu
authorEric Andersen <andersen@codepoet.org>
Fri, 8 Oct 2004 07:58:30 +0000 (07:58 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 8 Oct 2004 07:58:30 +0000 (07:58 -0000)
*current_menu;' in scripts/config/lkc.h line 63, and this conflicts with
static definition in mconf.c.

scripts/config/mconf.c

index 0ac3a8d07177a94103052d13189607083136922c..63b4ff72f456452bcfb3d59f1bf67395210d6456 100644 (file)
@@ -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;