From 6e9ca1fa55a75ea831596c20d817c36ef1b1f320 Mon Sep 17 00:00:00 2001 From: Kazu Hirata <kazu@codesourcery.com> Date: Wed, 18 Jan 2006 15:03:44 +0000 Subject: [PATCH] postreload-gcse.c (gcse_after_reload_main): Make it static. * postreload-gcse.c (gcse_after_reload_main): Make it static. * rtl.h: Remove the prototype for gcse_after_reload_main. From-SVN: r109889 --- gcc/ChangeLog | 3 +++ gcc/postreload-gcse.c | 2 +- gcc/rtl.h | 3 --- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5547f308960c..72c325646297 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -7,6 +7,9 @@ * modulo-sched.c (sms_schedule): Make it static. * rtl.h: Remove the prototype for sms_schedule. + * postreload-gcse.c (gcse_after_reload_main): Make it static. + * rtl.h: Remove the prototype for gcse_after_reload_main. + 2006-01-18 Eric Botcazou <ebotcazou@adacore.com> * config/alpha/alpha.c (alpha_split_tfmode_pair): Rename into diff --git a/gcc/postreload-gcse.c b/gcc/postreload-gcse.c index 4fc66ec4ee62..88b0f537a610 100644 --- a/gcc/postreload-gcse.c +++ b/gcc/postreload-gcse.c @@ -1318,7 +1318,7 @@ delete_redundant_insns (void) /* Main entry point of the GCSE after reload - clean some redundant loads due to spilling. */ -void +static void gcse_after_reload_main (rtx f ATTRIBUTE_UNUSED) { diff --git a/gcc/rtl.h b/gcc/rtl.h index d6bf888a0bb0..0edff2425e81 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -2035,9 +2035,6 @@ extern void expand_dec (rtx, rtx); extern bool can_copy_p (enum machine_mode); extern rtx fis_get_condition (rtx); -/* In postreload-gcse.c */ -extern void gcse_after_reload_main (rtx); - /* In global.c */ extern void mark_elimination (int, int); extern void dump_global_regs (FILE *); -- GitLab