OSDN Git Service

* passes.c (rest_of_compilation): Make it static.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Nov 2004 23:26:35 +0000 (23:26 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Nov 2004 23:26:35 +0000 (23:26 +0000)
* toplev.h: Remove the prototype for rest_of_compilation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90091 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 23d3401..3173f0b 100644 (file)
@@ -1,5 +1,10 @@
 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
        delete_barrier.
        (delete_barrier): Remove.
index 5488981..1b656f3 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 f0dfaa9..a212972 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);