summaryrefslogtreecommitdiff
path: root/scripts/kconfig/lkc.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-21 17:33:05 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-28 22:22:38 +0900
commitcbafbf7f551c3a03fb9440932f1ca13056ca40a6 (patch)
tree185323683e7ad6596c7eba41f705e2bea1a053f6 /scripts/kconfig/lkc.h
parent558e78e3ce844c61ceffe32775dbefacf167b023 (diff)
kconfig: split the lexer out of zconf.y
Compile zconf.lex.c independently of the other files. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/kconfig/lkc.h')
-rw-r--r--scripts/kconfig/lkc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h
index 160a9312e11a..531ff7c57d92 100644
--- a/scripts/kconfig/lkc.h
+++ b/scripts/kconfig/lkc.h
@@ -90,6 +90,9 @@ void *xrealloc(void *p, size_t size);
char *xstrdup(const char *s);
char *xstrndup(const char *s, size_t n);
+/* zconf.l */
+int yylex(void);
+
struct gstr {
size_t len;
char *s;