diff options
author | Josh Triplett <josh@joshtriplett.org> | 2009-10-15 15:13:36 -0400 |
---|---|---|
committer | Josh Triplett <josh@joshtriplett.org> | 2009-11-15 18:00:16 -0500 |
commit | 65166571800af0f63f21e5576d7db12d2bf73790 (patch) | |
tree | 42bae137b3966ff60c28619cd22c84cf20ec1c79 /scripts/kconfig/zconf.y | |
parent | 1456edbb1476db735715ddcc7ac306de587024eb (diff) |
kconfig: Mark various internal functions static
kconfig's keyword hash, lexer, and parser define various functions used
only locally. Declare these functions as static, and regenerate the
corresponding generated files.
Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'scripts/kconfig/zconf.y')
-rw-r--r-- | scripts/kconfig/zconf.y | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/kconfig/zconf.y b/scripts/kconfig/zconf.y index 01ec550ec01b..8c43491f8cc9 100644 --- a/scripts/kconfig/zconf.y +++ b/scripts/kconfig/zconf.y | |||
@@ -504,7 +504,7 @@ void conf_parse(const char *name) | |||
504 | sym_set_change_count(1); | 504 | sym_set_change_count(1); |
505 | } | 505 | } |
506 | 506 | ||
507 | const char *zconf_tokenname(int token) | 507 | static const char *zconf_tokenname(int token) |
508 | { | 508 | { |
509 | switch (token) { | 509 | switch (token) { |
510 | case T_MENU: return "menu"; | 510 | case T_MENU: return "menu"; |
@@ -568,7 +568,7 @@ static void zconferror(const char *err) | |||
568 | #endif | 568 | #endif |
569 | } | 569 | } |
570 | 570 | ||
571 | void print_quoted_string(FILE *out, const char *str) | 571 | static void print_quoted_string(FILE *out, const char *str) |
572 | { | 572 | { |
573 | const char *p; | 573 | const char *p; |
574 | int len; | 574 | int len; |
@@ -585,7 +585,7 @@ void print_quoted_string(FILE *out, const char *str) | |||
585 | putc('"', out); | 585 | putc('"', out); |
586 | } | 586 | } |
587 | 587 | ||
588 | void print_symbol(FILE *out, struct menu *menu) | 588 | static void print_symbol(FILE *out, struct menu *menu) |
589 | { | 589 | { |
590 | struct symbol *sym = menu->sym; | 590 | struct symbol *sym = menu->sym; |
591 | struct property *prop; | 591 | struct property *prop; |