summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/lexer.l
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-02-03 00:58:06 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2024-02-19 18:20:40 +0900
commitd3d16228a520ce49884d3bb90b67c12726c63020 (patch)
treecce05ab391fc5dacc51f3106dd92c499ea45e54e /scripts/kconfig/lexer.l
parent56e634b06fd554b819ac9c45fc77a41500861ced (diff)
downloadlinux-stable-d3d16228a520ce49884d3bb90b67c12726c63020.tar.gz
linux-stable-d3d16228a520ce49884d3bb90b67c12726c63020.tar.bz2
linux-stable-d3d16228a520ce49884d3bb90b67c12726c63020.zip
kconfig: split preprocessor prototypes into preprocess.h
These are needed only for the parse stage. Move the prototypes into a separate header to make sure they are not used after that. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig/lexer.l')
-rw-r--r--scripts/kconfig/lexer.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/kconfig/lexer.l b/scripts/kconfig/lexer.l
index 5f1bc3320307..1bb372868ecf 100644
--- a/scripts/kconfig/lexer.l
+++ b/scripts/kconfig/lexer.l
@@ -14,6 +14,8 @@
#include <string.h>
#include "lkc.h"
+#include "preprocess.h"
+
#include "parser.tab.h"
#define YY_DECL static int yylex1(void)