summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/internal.h
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-04-13 17:08:17 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2021-04-14 08:26:09 +0200
commita77a05dc9cf24a8c88b9d9c70e8984f936d075f3 (patch)
tree1f5bd384aa5e1c7b946fd2d645c0408c713a95e9 /scripts/kconfig/internal.h
parentkconfig: nconf: refactor in print_in_middle() (diff)
downloadlinux-a77a05dc9cf24a8c88b9d9c70e8984f936d075f3.tar.xz
linux-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/internal.h')
-rw-r--r--scripts/kconfig/internal.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/kconfig/internal.h b/scripts/kconfig/internal.h
new file mode 100644
index 000000000000..2f7298c21b64
--- /dev/null
+++ b/scripts/kconfig/internal.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+#ifndef INTERNAL_H
+#define INTERNAL_H
+
+struct menu;
+
+extern struct menu *current_menu, *current_entry;
+
+#endif /* INTERNAL_H */