From 802415d1174e5e0230bc1b248a48be0765261fae Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Tue, 8 Mar 2005 16:14:09 +0000 Subject: [PATCH] c-typeck.c (constructor_stack, [...]): Make them static. * c-typeck.c (constructor_stack, constructor_range_stack, initializer_stack): Make them static. From-SVN: r96108 --- gcc/ChangeLog | 5 +++++ gcc/c-typeck.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) 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. */ -- 2.30.2