aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2006-03-05 17:40:40 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2006-03-05 17:40:40 +0000
commitb00bf1661f4755fa203e44b98ba5b9a8de8c4355 (patch)
tree401afe498cdab7351e6fddbf3c7cb4511dbebd2d /gcc
parentacfc4f0a8577fa8bc082519fd76a29bf299ba50c (diff)
downloadgcc-b00bf1661f4755fa203e44b98ba5b9a8de8c4355.zip
gcc-b00bf1661f4755fa203e44b98ba5b9a8de8c4355.tar.gz
gcc-b00bf1661f4755fa203e44b98ba5b9a8de8c4355.tar.bz2
cfgloop.c (cancel_loop): Make it static.
* cfgloop.c (cancel_loop): Make it static. * cfgloop.h: Remove the prototype for cancel_loop. From-SVN: r111735
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/cfgloop.c3
-rw-r--r--gcc/cfgloop.h1
3 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 332499b..54968b5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -5,6 +5,9 @@
* basic-block.h: Remove the extern for
rediscover_loops_after_threading.
+ * cfgloop.c (cancel_loop): Make it static.
+ * cfgloop.h: Remove the prototype for cancel_loop.
+
2006-03-05 Kazu Hirata <kazu@codesourcery.com>
* recog.c (volatile_mem_p, validate_change_maybe_volatile):
diff --git a/gcc/cfgloop.c b/gcc/cfgloop.c
index ff00c49..7c06a3a 100644
--- a/gcc/cfgloop.c
+++ b/gcc/cfgloop.c
@@ -1012,7 +1012,8 @@ find_common_loop (struct loop *loop_s, struct loop *loop_d)
}
/* Cancels the LOOP; it must be innermost one. */
-void
+
+static void
cancel_loop (struct loops *loops, struct loop *loop)
{
basic_block *bbs;
diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h
index 2843d79..528698a 100644
--- a/gcc/cfgloop.h
+++ b/gcc/cfgloop.h
@@ -272,7 +272,6 @@ extern edge loop_latch_edge (const struct loop *);
extern void add_bb_to_loop (basic_block, struct loop *);
extern void remove_bb_from_loops (basic_block);
-extern void cancel_loop (struct loops *, struct loop *);
extern void cancel_loop_tree (struct loops *, struct loop *);
extern basic_block loop_split_edge_with (edge, rtx);