diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2005-03-08 16:14:09 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2005-03-08 16:14:09 +0000 |
commit | 802415d1174e5e0230bc1b248a48be0765261fae (patch) | |
tree | cf6468cafd50c01f875df5fa915cec6d95e452ec /gcc | |
parent | 323f0b8f5d9f561baa507eedbdf721923513bac0 (diff) | |
download | gcc-802415d1174e5e0230bc1b248a48be0765261fae.zip gcc-802415d1174e5e0230bc1b248a48be0765261fae.tar.gz gcc-802415d1174e5e0230bc1b248a48be0765261fae.tar.bz2 |
c-typeck.c (constructor_stack, [...]): Make them static.
* c-typeck.c (constructor_stack, constructor_range_stack,
initializer_stack): Make them static.
From-SVN: r96108
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/c-typeck.c | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0b8fd43..c156568 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-03-08 Kazu Hirata <kazu@cs.umass.edu> + + * c-typeck.c (constructor_stack, constructor_range_stack, + initializer_stack): Make them static. + 2005-03-08 Julian Brown <julian@codesourcery.com> * 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 ea1c81c..24bd079 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. */ |