From 1c765770ae6f76240a6303bf0085a8e1ab83591c Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Mon, 16 Jan 2006 21:04:19 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/global.c | 2 +- gcc/rtl.h | 1 - 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d19082a192e3..62dc8ff17e62 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-01-16 Kazu Hirata + + * global.c (global_alloc): Make it static. + * rtl.h: Remove the prototype for global_alloc. + 2006-01-16 Richard Guenther * tree-ssa-alias.c (struct used_part): Add write_only field. diff --git a/gcc/global.c b/gcc/global.c index e88e1012a5e8..defaeaf4f3f9 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 d076b1de4b44..d401c98f1e6e 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. */