From: Kazu Hirata Date: Thu, 4 Nov 2004 23:26:35 +0000 (+0000) Subject: passes.c (rest_of_compilation): Make it static. X-Git-Tag: releases/gcc-4.0.0~3416 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=73dcf3b5bb759d2943170d88823552e638313140;p=thirdparty%2Fgcc.git passes.c (rest_of_compilation): Make it static. * passes.c (rest_of_compilation): Make it static. * toplev.h: Remove the prototype for rest_of_compilation. From-SVN: r90091 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 23d340156899..3173f0b2f2ae 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-11-04 Kazu Hirata + + * passes.c (rest_of_compilation): Make it static. + * toplev.h: Remove the prototype for rest_of_compilation. + 2004-11-04 Kazu Hirata * jump.c (cleanup_barriers): Use delete_insn instead of diff --git a/gcc/passes.c b/gcc/passes.c index 5488981c013a..1b656f312ac6 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -1577,7 +1577,7 @@ rest_of_clean_state (void) We run a series of low-level passes here on the function's RTL representation. Each pass is called via a rest_of_* function. */ -void +static void rest_of_compilation (void) { /* Convert from NOTE_INSN_EH_REGION style notes, and do other diff --git a/gcc/toplev.h b/gcc/toplev.h index f0dfaa9eae66..a212972934d7 100644 --- a/gcc/toplev.h +++ b/gcc/toplev.h @@ -75,7 +75,6 @@ extern void inform (const char *, ...) ATTRIBUTE_GCC_DIAG(1,2); extern void rest_of_decl_compilation (tree, int, int); extern void rest_of_type_compilation (tree, int); -extern void rest_of_compilation (void); extern void tree_rest_of_compilation (tree); extern void init_tree_optimization_passes (void); extern void finish_optimization_passes (void);