diff options
author | Michal Marek <mmarek@suse.cz> | 2011-02-15 09:11:36 -0500 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2011-03-17 10:13:55 -0400 |
commit | 01762c4ec5f6f62c550304b9c70e824293cefdd0 (patch) | |
tree | 4a457cec48321f5b591966e56ddaea33733df5cc /scripts/genksyms/genksyms.h | |
parent | 68eb8563a1adf27fae18dde4c95fb796c17563df (diff) |
genksyms: simplify usage of find_symbol()
Allow searching for symbols of an exact type. The lexer does this and a
subsequent patch will add one more usage.
Signed-off-by: Michal Marek <mmarek@suse.cz>
Acked-by: Sam Ravnborg <sam@ravnborg.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 25c4d40cefc1..9fdafb667e76 100644 --- a/scripts/genksyms/genksyms.h +++ b/scripts/genksyms/genksyms.h | |||
@@ -58,7 +58,7 @@ typedef struct string_list **yystype; | |||
58 | extern int cur_line; | 58 | extern int cur_line; |
59 | extern char *cur_filename; | 59 | extern char *cur_filename; |
60 | 60 | ||
61 | struct symbol *find_symbol(const char *name, enum symbol_type ns); | 61 | 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, | 62 | struct symbol *add_symbol(const char *name, enum symbol_type type, |
63 | struct string_list *defn, int is_extern); | 63 | struct string_list *defn, int is_extern); |
64 | void export_symbol(const char *); | 64 | void export_symbol(const char *); |