diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-07-29 05:18:37 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-08-14 06:30:04 +0200 |
commit | d41809ff7af91b3f8ed4abe1cb36e69723af00d8 (patch) | |
tree | 381382a66ae0a9149df31432dd7877ab707851bc /scripts/kconfig/lexer.l | |
parent | kconfig: qconf: Fix mouse events in search view (diff) | |
download | linux-d41809ff7af91b3f8ed4abe1cb36e69723af00d8.tar.xz linux-d41809ff7af91b3f8ed4abe1cb36e69723af00d8.zip |
kconfig: add 'static' to some file-local data
Fix some warnings from sparce like follows:
warning: symbol '...' was not declared. Should it be static?
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig/lexer.l')
-rw-r--r-- | scripts/kconfig/lexer.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/lexer.l b/scripts/kconfig/lexer.l index 4b7339ff4c8b..240109f965ae 100644 --- a/scripts/kconfig/lexer.l +++ b/scripts/kconfig/lexer.l @@ -36,7 +36,7 @@ struct buffer { YY_BUFFER_STATE state; }; -struct buffer *current_buf; +static struct buffer *current_buf; static int last_ts, first_ts; |