* loop.c (loop_optimize): Make it static.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Jan 2006 01:27:04 +0000 (01:27 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Jan 2006 01:27:04 +0000 (01:27 +0000)
* cfgloop.h: Remove the prototype for loop_optimize.
* rtl.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109795 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/cfgloop.h
gcc/loop.c
gcc/rtl.h

index dd85e17..dbb8d46 100644 (file)
@@ -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
index b9c0dbc..b5ac71c 100644 (file)
@@ -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 */
index 4aa1ff9..de2a25b 100644 (file)
@@ -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;
index c1de092..5cd651c 100644 (file)
--- 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);