aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2006-01-17 01:27:04 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2006-01-17 01:27:04 +0000
commit04578e6489394756890267456daa107a58f56fa7 (patch)
tree51edb8c3f53be783752d3fb9dcbeddaf3cf7ad14 /gcc
parent57c8b089a16407ddd2e9a2f70bb50e80abe10cb3 (diff)
downloadgcc-04578e6489394756890267456daa107a58f56fa7.zip
gcc-04578e6489394756890267456daa107a58f56fa7.tar.gz
gcc-04578e6489394756890267456daa107a58f56fa7.tar.bz2
loop.c (loop_optimize): Make it static.
* loop.c (loop_optimize): Make it static. * cfgloop.h: Remove the prototype for loop_optimize. * rtl.h: Likewise. From-SVN: r109795
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/cfgloop.h2
-rw-r--r--gcc/loop.c2
-rw-r--r--gcc/rtl.h1
4 files changed, 5 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index dd85e17..dbb8d46 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -6,6 +6,10 @@
* local-alloc.c (local_alloc): Make it static.
* rtl.h: Remove the prototype for local_alloc.
+ * loop.c (loop_optimize): Make it static.
+ * cfgloop.h: Remove the prototype for loop_optimize.
+ * rtl.h: Likewise.
+
2006-01-16 DJ Delorie <dj@redhat.com>
* reload.c (reg_overlap_mentioned_for_reload_p): Handle subregs of
diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h
index b9c0dbc..b5ac71c 100644
--- a/gcc/cfgloop.h
+++ b/gcc/cfgloop.h
@@ -460,6 +460,4 @@ extern void record_estimate (struct loop *, tree, tree, tree);
/* Flags passed to loop_optimize. */
#define LOOP_PREFETCH 1
-extern void loop_optimize (rtx, FILE *, int);
-
#endif /* GCC_CFGLOOP_H */
diff --git a/gcc/loop.c b/gcc/loop.c
index 4aa1ff9..de2a25b 100644
--- a/gcc/loop.c
+++ b/gcc/loop.c
@@ -803,7 +803,7 @@ compute_luids (rtx start, rtx end, int prev_luid)
and DUMPFILE is a stream for output of a trace of actions taken
(or 0 if none should be output). */
-void
+static void
loop_optimize (rtx f, FILE *dumpfile, int flags)
{
rtx insn;
diff --git a/gcc/rtl.h b/gcc/rtl.h
index c1de092..5cd651c 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -2000,7 +2000,6 @@ extern void print_inline_rtx (FILE *, rtx, int);
/* In loop.c */
extern void init_loop (void);
-extern void loop_optimize (rtx, FILE *, int);
/* In bt-load.c */
extern void branch_target_load_optimize (bool);