summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-phinodes.c2
-rw-r--r--gcc/tree.h1
3 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index bfdf1cc39bd..59b2a1b76fb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2004-11-04 Kazu Hirata <kazu@cs.umass.edu>
+ * tree-phinodes.c (make_phi_node): Make it static.
+ * tree.h: Remove the prototypes for make_phi_node.
+
+2004-11-04 Kazu Hirata <kazu@cs.umass.edu>
+
* stmt.c (expand_asm, expand_asm_operands): Make them static.
* tree.h: Remove the prototypes for expand_asm and
expand_asm_operands.
diff --git a/gcc/tree-phinodes.c b/gcc/tree-phinodes.c
index 5c5be3f7742..2e190e58179 100644
--- a/gcc/tree-phinodes.c
+++ b/gcc/tree-phinodes.c
@@ -202,7 +202,7 @@ ideal_phi_node_len (int len)
definitions created when a variable is used without a preceding
definition). */
-tree
+static tree
make_phi_node (tree var, int len)
{
tree phi;
diff --git a/gcc/tree.h b/gcc/tree.h
index 0611c2809df..b35066d1ba4 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -2768,7 +2768,6 @@ extern tree make_tree_vec_stat (int MEM_STAT_DECL);
/* Tree nodes for SSA analysis. */
-extern tree make_phi_node (tree, int);
extern void init_phinodes (void);
extern void fini_phinodes (void);
extern void release_phi_node (tree);