fold-const.c (pedantic_non_lvalue): Make it static.
authorKazu Hirata <kazu@cs.umass.edu>
Tue, 9 Nov 2004 17:36:26 +0000 (17:36 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Tue, 9 Nov 2004 17:36:26 +0000 (17:36 +0000)
* fold-const.c (pedantic_non_lvalue): Make it static.
* tree.h: Remove the corresponding prototype.

From-SVN: r90352

gcc/ChangeLog
gcc/fold-const.c
gcc/tree.h

index 157862d3fbb9b96c6fa674105f2e73cdd64b6374..9d91e1cb6d26e7139f1b8fa3dccdc1b9be1ecd6a 100644 (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.
index 00840205979b84905828880ae58b85a99ddcce72..a14bfb762d4965c8d7cc7de962efcfdee0a3e79f 100644 (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)
index b0b6c955c3454b1f04703a318fe900f3955dccad..7b26c5df6a9380885578927caf49933ff3727104 100644 (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);