aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2006-01-16 21:04:19 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2006-01-16 21:04:19 +0000
commit1c765770ae6f76240a6303bf0085a8e1ab83591c (patch)
tree7bd5395728a9b5031d7319acfbaec2c8472c3726
parent5f180d367fa8c305fd4314fb2dc888c629b41286 (diff)
downloadgcc-1c765770ae6f76240a6303bf0085a8e1ab83591c.zip
gcc-1c765770ae6f76240a6303bf0085a8e1ab83591c.tar.gz
gcc-1c765770ae6f76240a6303bf0085a8e1ab83591c.tar.bz2
global.c (global_alloc): Make it static.
* global.c (global_alloc): Make it static. * rtl.h: Remove the prototype for global_alloc. From-SVN: r109771
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/global.c2
-rw-r--r--gcc/rtl.h1
3 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d19082a..62dc8ff 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-16 Kazu Hirata <kazu@codesourcery.com>
+
+ * global.c (global_alloc): Make it static.
+ * rtl.h: Remove the prototype for global_alloc.
+
2006-01-16 Richard Guenther <rguenther@suse.de>
* tree-ssa-alias.c (struct used_part): Add write_only field.
diff --git a/gcc/global.c b/gcc/global.c
index e88e101..defaeaf 100644
--- a/gcc/global.c
+++ b/gcc/global.c
@@ -332,7 +332,7 @@ static void make_accurate_live_analysis (void);
Return value is nonzero if reload failed
and we must not do any more for this function. */
-int
+static int
global_alloc (FILE *file)
{
int retval;
diff --git a/gcc/rtl.h b/gcc/rtl.h
index d076b1d..d401c98 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -2043,7 +2043,6 @@ extern void gcse_after_reload_main (rtx);
/* In global.c */
extern void mark_elimination (int, int);
-extern int global_alloc (FILE *);
extern void dump_global_regs (FILE *);
#ifdef HARD_CONST
/* Yes, this ifdef is silly, but HARD_REG_SET is not always defined. */