]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
passes.c (rest_of_compilation): Make it static.
authorKazu Hirata <kazu@cs.umass.edu>
Thu, 4 Nov 2004 23:26:35 +0000 (23:26 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Thu, 4 Nov 2004 23:26:35 +0000 (23:26 +0000)
* passes.c (rest_of_compilation): Make it static.
* toplev.h: Remove the prototype for rest_of_compilation.

From-SVN: r90091

gcc/ChangeLog
gcc/passes.c
gcc/toplev.h

index 23d340156899c7374bbb646609f8eea2e9173f64..3173f0b2f2ae7d12a7cfd7d170c164cfaf8c8ba2 100644 (file)
@@ -1,3 +1,8 @@
+2004-11-04  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * passes.c (rest_of_compilation): Make it static.
+       * toplev.h: Remove the prototype for rest_of_compilation.
+
 2004-11-04  Kazu Hirata  <kazu@cs.umass.edu>
 
        * jump.c (cleanup_barriers): Use delete_insn instead of
index 5488981c013a96142046c5a1fcb80b6323d2006b..1b656f312ac6bb3a003b90b8026220550f0620fd 100644 (file)
@@ -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
index f0dfaa9eae66c4dc07f3fabef008bdc6c7ed5cfc..a212972934d7b4b1d4bc7788b907fc395c57e2f9 100644 (file)
@@ -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);