From 57c8b089a16407ddd2e9a2f70bb50e80abe10cb3 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Tue, 17 Jan 2006 01:24:50 +0000 Subject: [PATCH] local-alloc.c (local_alloc): Make it static. * local-alloc.c (local_alloc): Make it static. * rtl.h: Remove the prototype for local_alloc. From-SVN: r109794 --- gcc/ChangeLog | 3 +++ gcc/local-alloc.c | 2 +- gcc/rtl.h | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6287c4e5cdf..dd85e176154 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 * reload.c (reg_overlap_mentioned_for_reload_p): Handle subregs of diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c index 0380ff974e7..17f450f65e1 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 0484cf7f6a9..c1de092831b 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); -- 2.30.2