aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/local-alloc.c2
-rw-r--r--gcc/rtl.h1
3 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6287c4e..dd85e17 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -3,6 +3,9 @@
* ifcvt.c (if_convert): Make it static.
* rtl.h: Remove the prototype for if_convert.
+ * local-alloc.c (local_alloc): Make it static.
+ * rtl.h: Remove the prototype for local_alloc.
+
2006-01-16 DJ Delorie <dj@redhat.com>
* reload.c (reg_overlap_mentioned_for_reload_p): Handle subregs of
diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c
index 0380ff9..17f450f 100644
--- a/gcc/local-alloc.c
+++ b/gcc/local-alloc.c
@@ -338,7 +338,7 @@ alloc_qty (int regno, enum machine_mode mode, int size, int birth)
/* Main entry point of this file. */
-int
+static int
local_alloc (void)
{
int i;
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 0484cf7..c1de092 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -2081,7 +2081,6 @@ extern void dbr_schedule (rtx, FILE *);
/* In local-alloc.c */
extern void dump_local_alloc (FILE *);
-extern int local_alloc (void);
/* In reload1.c */
extern int function_invariant_p (rtx);