diff options
Diffstat (limited to 'scripts/genksyms/genksyms.h')
-rw-r--r-- | scripts/genksyms/genksyms.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/genksyms/genksyms.h b/scripts/genksyms/genksyms.h index 25c4d40cefc1..7ec52ae3846a 100644 --- a/scripts/genksyms/genksyms.h +++ b/scripts/genksyms/genksyms.h | |||
@@ -26,7 +26,8 @@ | |||
26 | #include <stdio.h> | 26 | #include <stdio.h> |
27 | 27 | ||
28 | enum symbol_type { | 28 | enum symbol_type { |
29 | SYM_NORMAL, SYM_TYPEDEF, SYM_ENUM, SYM_STRUCT, SYM_UNION | 29 | SYM_NORMAL, SYM_TYPEDEF, SYM_ENUM, SYM_STRUCT, SYM_UNION, |
30 | SYM_ENUM_CONST | ||
30 | }; | 31 | }; |
31 | 32 | ||
32 | enum symbol_status { | 33 | enum symbol_status { |
@@ -58,7 +59,7 @@ typedef struct string_list **yystype; | |||
58 | extern int cur_line; | 59 | extern int cur_line; |
59 | extern char *cur_filename; | 60 | extern char *cur_filename; |
60 | 61 | ||
61 | struct symbol *find_symbol(const char *name, enum symbol_type ns); | 62 | struct symbol *find_symbol(const char *name, enum symbol_type ns, int exact); |
62 | struct symbol *add_symbol(const char *name, enum symbol_type type, | 63 | struct symbol *add_symbol(const char *name, enum symbol_type type, |
63 | struct string_list *defn, int is_extern); | 64 | struct string_list *defn, int is_extern); |
64 | void export_symbol(const char *); | 65 | void export_symbol(const char *); |
@@ -66,6 +67,8 @@ void export_symbol(const char *); | |||
66 | void free_node(struct string_list *list); | 67 | void free_node(struct string_list *list); |
67 | void free_list(struct string_list *s, struct string_list *e); | 68 | void free_list(struct string_list *s, struct string_list *e); |
68 | struct string_list *copy_node(struct string_list *); | 69 | struct string_list *copy_node(struct string_list *); |
70 | struct string_list *copy_list_range(struct string_list *start, | ||
71 | struct string_list *end); | ||
69 | 72 | ||
70 | int yylex(void); | 73 | int yylex(void); |
71 | int yyparse(void); | 74 | int yyparse(void); |