summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/lkc.h
diff options
context:
space:
mode:
authorMasahiro Yamada2018-12-21 09:33:05 +0100
committerMasahiro Yamada2018-12-28 14:22:38 +0100
commitcbafbf7f551c3a03fb9440932f1ca13056ca40a6 (patch)
tree185323683e7ad6596c7eba41f705e2bea1a053f6 /scripts/kconfig/lkc.h
parentkconfig: split some C files out of zconf.y (diff)
downloadkernel-qcow2-linux-cbafbf7f551c3a03fb9440932f1ca13056ca40a6.tar.gz
kernel-qcow2-linux-cbafbf7f551c3a03fb9440932f1ca13056ca40a6.tar.xz
kernel-qcow2-linux-cbafbf7f551c3a03fb9440932f1ca13056ca40a6.zip
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;