diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/genksyms/genksyms.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/genksyms/genksyms.c b/scripts/genksyms/genksyms.c index 3a8297b5184c..af6b8363a2d5 100644 --- a/scripts/genksyms/genksyms.c +++ b/scripts/genksyms/genksyms.c | |||
@@ -176,7 +176,7 @@ static int is_unknown_symbol(struct symbol *sym) | |||
176 | strcmp(defn->string, "{") == 0); | 176 | strcmp(defn->string, "{") == 0); |
177 | } | 177 | } |
178 | 178 | ||
179 | struct symbol *__add_symbol(const char *name, enum symbol_type type, | 179 | static struct symbol *__add_symbol(const char *name, enum symbol_type type, |
180 | struct string_list *defn, int is_extern, | 180 | struct string_list *defn, int is_extern, |
181 | int is_reference) | 181 | int is_reference) |
182 | { | 182 | { |
@@ -265,7 +265,7 @@ struct symbol *add_symbol(const char *name, enum symbol_type type, | |||
265 | return __add_symbol(name, type, defn, is_extern, 0); | 265 | return __add_symbol(name, type, defn, is_extern, 0); |
266 | } | 266 | } |
267 | 267 | ||
268 | struct symbol *add_reference_symbol(const char *name, enum symbol_type type, | 268 | static struct symbol *add_reference_symbol(const char *name, enum symbol_type type, |
269 | struct string_list *defn, int is_extern) | 269 | struct string_list *defn, int is_extern) |
270 | { | 270 | { |
271 | return __add_symbol(name, type, defn, is_extern, 1); | 271 | return __add_symbol(name, type, defn, is_extern, 1); |
@@ -313,7 +313,7 @@ static int equal_list(struct string_list *a, struct string_list *b) | |||
313 | 313 | ||
314 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) | 314 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) |
315 | 315 | ||
316 | struct string_list *read_node(FILE *f) | 316 | static struct string_list *read_node(FILE *f) |
317 | { | 317 | { |
318 | char buffer[256]; | 318 | char buffer[256]; |
319 | struct string_list node = { | 319 | struct string_list node = { |