basic-block.h (init_regset_vector): Delete declaration.
authorJeffrey A Law <law@cygnus.com>
Sun, 21 Jun 1998 21:49:52 +0000 (21:49 +0000)
committerJeff Law <law@gcc.gnu.org>
Sun, 21 Jun 1998 21:49:52 +0000 (15:49 -0600)
        * basic-block.h (init_regset_vector): Delete declaration.
        * flow.c (init_regset_vector): Make it static and add a prototype.

From-SVN: r20647

gcc/ChangeLog
gcc/basic-block.h
gcc/flow.c

index 8661c4705f1892ea5ed3ee8c7548b993bdf25fd7..ac8ce327923e46361e43ae9586574c0a97450d7a 100644 (file)
@@ -5,6 +5,9 @@ Sun Jun 21 17:05:34 1998  Dave Love  <d.love@dl.ac.uk>
 
 Sun Jun 21 18:56:44 1998  Jeffrey A Law  (law@cygnus.com)
 
+       * basic-block.h (init_regset_vector): Delete declaration.
+       * flow.c (init_regset_vector): Make it static and add a prototype.
+
        * bitmap.h (debug_bitmap): Declare.
 
        * haifa-sched.c (debug_ready_list): Make static.
index 4e3a7afa8a6a26f4e31b4069c732b1c3af3efd0d..d41c9ba5e9e02f914bfbeddce4ff840ee0bd9f24 100644 (file)
@@ -264,6 +264,3 @@ extern void sbitmap_union_of_successors PROTO ((sbitmap, sbitmap *, int,
                                                int_list_ptr *));
 extern void compute_dominators PROTO ((sbitmap *, sbitmap *,
                                       int_list_ptr *, int_list_ptr *));
-
-/* In flow.c */
-extern void init_regset_vector PROTO ((regset *, int, struct obstack *));
index fa77fae12cafe08e43a52d6007930fcba6d80c36..f8ce8689d37011c37c82a64eb7b6aa5fd9174794 100644 (file)
@@ -282,6 +282,8 @@ static void add_pred_succ           PROTO ((int, int, int_list_ptr *,
 static int_list_ptr alloc_int_list_node PROTO ((int_list_block **));
 static int_list_ptr add_int_list_node   PROTO ((int_list_block **,
                                                int_list **, int));
+static void init_regset_vector         PROTO ((regset *, int,
+                                               struct obstack *));
 \f
 /* Find basic blocks of the current function.
    F is the first insn of the function and NREGS the number of register numbers
@@ -1496,7 +1498,7 @@ allocate_for_life_analysis ()
    NELTS elements, and space is allocated from the ALLOC_OBSTACK
    obstack.  */
 
-void
+static void
 init_regset_vector (vector, nelts, alloc_obstack)
      regset *vector;
      int nelts;