Commit 49995c8e by Kazu Hirata Committed by Kazu Hirata

fold-const.c (pedantic_non_lvalue): Make it static.

	* fold-const.c (pedantic_non_lvalue): Make it static.
	* tree.h: Remove the corresponding prototype.

From-SVN: r90352
parent 6db0fb0e
2004-11-09 Kazu Hirata <kazu@cs.umass.edu> 2004-11-09 Kazu Hirata <kazu@cs.umass.edu>
* fold-const.c (pedantic_non_lvalue): Make it static.
* tree.h: Remove the corresponding prototype.
2004-11-09 Kazu Hirata <kazu@cs.umass.edu>
* optabs.c (prepare_operand): Make it static. * optabs.c (prepare_operand): Make it static.
* optabs.h: Remove the corresponding prototype. * optabs.h: Remove the corresponding prototype.
......
...@@ -2035,7 +2035,7 @@ int pedantic_lvalues; ...@@ -2035,7 +2035,7 @@ int pedantic_lvalues;
/* When pedantic, return an expr equal to X but certainly not valid as a /* When pedantic, return an expr equal to X but certainly not valid as a
pedantic lvalue. Otherwise, return X. */ pedantic lvalue. Otherwise, return X. */
tree static tree
pedantic_non_lvalue (tree x) pedantic_non_lvalue (tree x)
{ {
if (pedantic_lvalues) if (pedantic_lvalues)
......
...@@ -3152,7 +3152,6 @@ extern enum machine_mode mode_for_size_tree (tree, enum mode_class, int); ...@@ -3152,7 +3152,6 @@ extern enum machine_mode mode_for_size_tree (tree, enum mode_class, int);
/* Return an expr equal to X but certainly not valid as an lvalue. */ /* Return an expr equal to X but certainly not valid as an lvalue. */
extern tree non_lvalue (tree); extern tree non_lvalue (tree);
extern tree pedantic_non_lvalue (tree);
extern tree convert (tree, tree); extern tree convert (tree, tree);
extern unsigned int expr_align (tree); extern unsigned int expr_align (tree);
......
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