diff options
Diffstat (limited to 'scripts/genksyms/genksyms.h')
| -rw-r--r-- | scripts/genksyms/genksyms.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/genksyms/genksyms.h b/scripts/genksyms/genksyms.h index 7ec52ae3846a..3bffdcaaa274 100644 --- a/scripts/genksyms/genksyms.h +++ b/scripts/genksyms/genksyms.h | |||
| @@ -37,6 +37,7 @@ enum symbol_status { | |||
| 37 | struct string_list { | 37 | struct string_list { |
| 38 | struct string_list *next; | 38 | struct string_list *next; |
| 39 | enum symbol_type tag; | 39 | enum symbol_type tag; |
| 40 | int in_source_file; | ||
| 40 | char *string; | 41 | char *string; |
| 41 | }; | 42 | }; |
| 42 | 43 | ||
| @@ -57,7 +58,8 @@ typedef struct string_list **yystype; | |||
| 57 | #define YYSTYPE yystype | 58 | #define YYSTYPE yystype |
| 58 | 59 | ||
| 59 | extern int cur_line; | 60 | extern int cur_line; |
| 60 | extern char *cur_filename; | 61 | extern char *cur_filename, *source_file; |
| 62 | extern int in_source_file; | ||
| 61 | 63 | ||
| 62 | struct symbol *find_symbol(const char *name, enum symbol_type ns, int exact); | 64 | struct symbol *find_symbol(const char *name, enum symbol_type ns, int exact); |
| 63 | struct symbol *add_symbol(const char *name, enum symbol_type type, | 65 | struct symbol *add_symbol(const char *name, enum symbol_type type, |
