Commit 802415d1 by Kazu Hirata Committed by Kazu Hirata

c-typeck.c (constructor_stack, [...]): Make them static.

	* c-typeck.c (constructor_stack, constructor_range_stack,
	initializer_stack): Make them static.

From-SVN: r96108
parent 323f0b8f
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> 2005-03-08 Julian Brown <julian@codesourcery.com>
* config/elfos.h (MAKE_DECL_ONE_ONLY): Redefined to stop DECL_WEAK * config/elfos.h (MAKE_DECL_ONE_ONLY): Redefined to stop DECL_WEAK
......
...@@ -4505,7 +4505,7 @@ struct constructor_stack ...@@ -4505,7 +4505,7 @@ struct constructor_stack
char designated; char designated;
}; };
struct constructor_stack *constructor_stack; static struct constructor_stack *constructor_stack;
/* This stack represents designators from some range designator up to /* This stack represents designators from some range designator up to
the last designator in the list. */ the last designator in the list. */
...@@ -4520,7 +4520,7 @@ struct constructor_range_stack ...@@ -4520,7 +4520,7 @@ struct constructor_range_stack
tree fields; 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. /* This stack records separate initializers that are nested.
Nested initializers can't happen in ANSI C, but GNU C allows them Nested initializers can't happen in ANSI C, but GNU C allows them
...@@ -4541,7 +4541,7 @@ struct initializer_stack ...@@ -4541,7 +4541,7 @@ struct initializer_stack
char require_constant_elements; 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. */ /* Prepare to parse and output the initializer for variable DECL. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment