summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-11 23:10:10 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-11 23:10:10 +0000
commit7342104b12d73ed3c6993c706168a8af5ab16829 (patch)
treefff7e7af641776a4bac56eb59e5965526373a54b /gcc
parent0aa9ffd404b5ea71b2223640f71170d6e391838f (diff)
downloadgcc-7342104b12d73ed3c6993c706168a8af5ab16829.tar.gz
* cfglayout.c (choose_inner_scope): Make it static.
* rtl.h: Remove the corresponding prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90502 138bc75d-0d04-0410-961f-82ee72b054a4
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 5658d0364dd..5c51ed34904 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 2d88a376b2e..4ca4c1be6b6 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 30ea52ee022..f8ca1c3e2f8 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);