diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2021-01-16 08:43:02 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2021-02-16 12:01:44 +0900 |
commit | ab37d5a43162ab424e36be03684881df438378a7 (patch) | |
tree | b507088335bb9bd37557f8599ddbc8e4238f5ad1 /scripts/genksyms/genksyms.h | |
parent | aec6c60a01d3a3170242d6a99372a388e1136dc6 (diff) | |
download | linux-ab37d5a43162ab424e36be03684881df438378a7.tar.bz2 |
genksyms: make source_file a local variable in lexer
This is only used in yylex() in lex.l
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/genksyms/genksyms.h')
-rw-r--r-- | scripts/genksyms/genksyms.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/genksyms/genksyms.h b/scripts/genksyms/genksyms.h index 2bcdb9bebab4..21ed2ec2d98c 100644 --- a/scripts/genksyms/genksyms.h +++ b/scripts/genksyms/genksyms.h @@ -47,7 +47,7 @@ typedef struct string_list **yystype; #define YYSTYPE yystype extern int cur_line; -extern char *cur_filename, *source_file; +extern char *cur_filename; extern int in_source_file; struct symbol *find_symbol(const char *name, enum symbol_type ns, int exact); |