aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-11-11 23:10:10 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-11-11 23:10:10 +0000
commita5d3e50dcdc03b2aefc0e176f4ba351cc26d4213 (patch)
treefff7e7af641776a4bac56eb59e5965526373a54b /gcc
parent04e2b4d3906885ad974c1b568f014a587dc37fbc (diff)
downloadgcc-a5d3e50dcdc03b2aefc0e176f4ba351cc26d4213.zip
gcc-a5d3e50dcdc03b2aefc0e176f4ba351cc26d4213.tar.gz
gcc-a5d3e50dcdc03b2aefc0e176f4ba351cc26d4213.tar.bz2
cfglayout.c (choose_inner_scope): Make it static.
* cfglayout.c (choose_inner_scope): Make it static. * rtl.h: Remove the corresponding prototype. From-SVN: r90502
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/cfglayout.c2
-rw-r--r--gcc/rtl.h1
3 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5658d03..5c51ed3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -7,6 +7,9 @@
record_alias_subset.
* rtl.h: Remove the prototype for addr_side_effect_eval.
+ * cfglayout.c (choose_inner_scope): Make it static.
+ * rtl.h: Remove the corresponding prototype.
+
2004-11-11 Kazu Hirata <kazu@cs.umass.edu>
* function.c (expand_function_end): Remove an "if" statement
diff --git a/gcc/cfglayout.c b/gcc/cfglayout.c
index 2d88a37..4ca4c1b 100644
--- a/gcc/cfglayout.c
+++ b/gcc/cfglayout.c
@@ -347,7 +347,7 @@ set_block_levels (tree block, int level)
}
/* Return sope resulting from combination of S1 and S2. */
-tree
+static tree
choose_inner_scope (tree s1, tree s2)
{
if (!s1)
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 30ea52e..f8ca1c3 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -1507,7 +1507,6 @@ extern rtx next_cc0_user (rtx);
extern rtx prev_cc0_setter (rtx);
/* In cfglayout.c */
-extern tree choose_inner_scope (tree, tree);
extern int insn_line (rtx);
extern const char * insn_file (rtx);
extern int locator_line (int);