summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/basic-block.h3
-rw-r--r--gcc/flow.c4
3 files changed, 6 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8661c4705f1..ac8ce327923 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/basic-block.h b/gcc/basic-block.h
index 4e3a7afa8a6..d41c9ba5e9e 100644
--- a/gcc/basic-block.h
+++ b/gcc/basic-block.h
@@ -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 *));
diff --git a/gcc/flow.c b/gcc/flow.c
index fa77fae12ca..f8ce8689d37 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -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 *));
/* 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;