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
This commit is contained in:
Kazu Hirata 2004-11-09 17:36:26 +00:00 committed by Kazu Hirata
parent 6db0fb0ed3
commit 49995c8ed1
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -2035,7 +2035,7 @@ int pedantic_lvalues;
/* When pedantic, return an expr equal to X but certainly not valid as a
pedantic lvalue. Otherwise, return X. */
tree
static tree
pedantic_non_lvalue (tree x)
{
if (pedantic_lvalues)

View File

@ -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. */
extern tree non_lvalue (tree);
extern tree pedantic_non_lvalue (tree);
extern tree convert (tree, tree);
extern unsigned int expr_align (tree);