From: Kazu Hirata Date: Tue, 8 Mar 2005 16:14:09 +0000 (+0000) Subject: c-typeck.c (constructor_stack, [...]): Make them static. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=802415d1174e5e0230bc1b248a48be0765261fae;p=gcc.git c-typeck.c (constructor_stack, [...]): Make them static. * c-typeck.c (constructor_stack, constructor_range_stack, initializer_stack): Make them static. From-SVN: r96108 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0b8fd43f241..c156568dee5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-03-08 Kazu Hirata + + * c-typeck.c (constructor_stack, constructor_range_stack, + initializer_stack): Make them static. + 2005-03-08 Julian Brown * config/elfos.h (MAKE_DECL_ONE_ONLY): Redefined to stop DECL_WEAK diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index ea1c81c7435..24bd0794188 100644 --- a/gcc/c-typeck.c +++ b/gcc/c-typeck.c @@ -4505,7 +4505,7 @@ struct constructor_stack char designated; }; -struct constructor_stack *constructor_stack; +static struct constructor_stack *constructor_stack; /* This stack represents designators from some range designator up to the last designator in the list. */ @@ -4520,7 +4520,7 @@ struct constructor_range_stack tree fields; }; -struct constructor_range_stack *constructor_range_stack; +static struct constructor_range_stack *constructor_range_stack; /* This stack records separate initializers that are nested. Nested initializers can't happen in ANSI C, but GNU C allows them @@ -4541,7 +4541,7 @@ struct initializer_stack char require_constant_elements; }; -struct initializer_stack *initializer_stack; +static struct initializer_stack *initializer_stack; /* Prepare to parse and output the initializer for variable DECL. */