From 04578e6489394756890267456daa107a58f56fa7 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Tue, 17 Jan 2006 01:27:04 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 4 ++++ gcc/cfgloop.h | 2 -- gcc/loop.c | 2 +- gcc/rtl.h | 1 - 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dd85e176154..dbb8d462bc1 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 * reload.c (reg_overlap_mentioned_for_reload_p): Handle subregs of diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h index b9c0dbc5b0d..b5ac71caeab 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 4aa1ff9ab70..de2a25b07c8 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 c1de092831b..5cd651c6060 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); -- 2.30.2