diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2021-04-14 00:08:17 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2021-04-14 15:26:09 +0900 |
commit | a77a05dc9cf24a8c88b9d9c70e8984f936d075f3 (patch) | |
tree | 1f5bd384aa5e1c7b946fd2d645c0408c713a95e9 /scripts/kconfig/parser.y | |
parent | 08718745d8610c2ed9870568b8d9c01b7f103efb (diff) | |
download | lwn-a77a05dc9cf24a8c88b9d9c70e8984f936d075f3.tar.gz lwn-a77a05dc9cf24a8c88b9d9c70e8984f936d075f3.zip |
kconfig: split menu.c out of parser.y
Compile menu.c as an independent compilation unit.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig/parser.y')
-rw-r--r-- | scripts/kconfig/parser.y | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/kconfig/parser.y b/scripts/kconfig/parser.y index e90889edf5b3..2af7ce4e1531 100644 --- a/scripts/kconfig/parser.y +++ b/scripts/kconfig/parser.y @@ -12,6 +12,7 @@ #include <stdbool.h> #include "lkc.h" +#include "internal.h" #define printd(mask, fmt...) if (cdebug & (mask)) printf(fmt) @@ -28,7 +29,7 @@ static bool zconf_endtoken(const char *tokenname, struct symbol *symbol_hash[SYMBOL_HASHSIZE]; -static struct menu *current_menu, *current_entry; +struct menu *current_menu, *current_entry; %} @@ -713,5 +714,3 @@ void zconfdump(FILE *out) } } } - -#include "menu.c" |