aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-11-09 17:36:26 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-11-09 17:36:26 +0000
commit49995c8ed16aa7c7dcc12cbf201c1d9fc5f54bf0 (patch)
treed688d018bd6957527599a7326574b0bf7f3b0552 /gcc/fold-const.c
parent6db0fb0ed3c834b6457434841df0599f27872c02 (diff)
downloadgcc-49995c8ed16aa7c7dcc12cbf201c1d9fc5f54bf0.zip
gcc-49995c8ed16aa7c7dcc12cbf201c1d9fc5f54bf0.tar.gz
gcc-49995c8ed16aa7c7dcc12cbf201c1d9fc5f54bf0.tar.bz2
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
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r--gcc/fold-const.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index 0084020..a14bfb7 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)