summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-09 17:36:26 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-09 17:36:26 +0000
commitd50efa49305f3681871dbedc87002c29c2f8a2f9 (patch)
treed688d018bd6957527599a7326574b0bf7f3b0552
parent029a6a72be70d91946be3ba0b444a4373735f276 (diff)
downloadppe42-gcc-d50efa49305f3681871dbedc87002c29c2f8a2f9.tar.gz
ppe42-gcc-d50efa49305f3681871dbedc87002c29c2f8a2f9.zip
* fold-const.c (pedantic_non_lvalue): Make it static.
* tree.h: Remove the corresponding prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90352 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/fold-const.c2
-rw-r--r--gcc/tree.h1
3 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 157862d3fbb..9d91e1cb6d2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
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.h: Remove the corresponding prototype.
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index 00840205979..a14bfb762d4 100644
--- a/gcc/fold-const.c
+++ b/gcc/fold-const.c
@@ -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)
diff --git a/gcc/tree.h b/gcc/tree.h
index b0b6c955c34..7b26c5df6a9 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -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);
OpenPOWER on IntegriCloud