diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2006-01-17 01:24:50 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2006-01-17 01:24:50 +0000 |
commit | 57c8b089a16407ddd2e9a2f70bb50e80abe10cb3 (patch) | |
tree | 2ff419588a5f6b1fb6c0bfdd9a5e832393ca624e /gcc | |
parent | d6108e890ccd55d45010ec888091489c26704be3 (diff) | |
download | gcc-57c8b089a16407ddd2e9a2f70bb50e80abe10cb3.zip gcc-57c8b089a16407ddd2e9a2f70bb50e80abe10cb3.tar.gz gcc-57c8b089a16407ddd2e9a2f70bb50e80abe10cb3.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/local-alloc.c | 2 | ||||
-rw-r--r-- | gcc/rtl.h | 1 |
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; @@ -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); |