summaryrefslogtreecommitdiff
path: root/scripts/kconfig/internal.h
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-04-13 18:08:17 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2021-04-14 09:26:09 +0300
commita77a05dc9cf24a8c88b9d9c70e8984f936d075f3 (patch)
tree1f5bd384aa5e1c7b946fd2d645c0408c713a95e9 /scripts/kconfig/internal.h
parent08718745d8610c2ed9870568b8d9c01b7f103efb (diff)
downloadlinux-a77a05dc9cf24a8c88b9d9c70e8984f936d075f3.tar.xz
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 */