diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-25 18:11:19 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-25 18:11:19 +0000 |
commit | 4e570444cf14995d937390901425375ad519a4a6 (patch) | |
tree | b9822ac347b37f0d1902b3559a49f92e991c61aa /gcc/cgraph.c | |
parent | 8694effa9989a06b4f21ceb9c4ce58411651002d (diff) | |
download | gcc-4e570444cf14995d937390901425375ad519a4a6.tar.gz |
* cgraph.h (cgraph_remove_edge): Declare.
* cgraph.c (cgraph_remove_edge): Make extern.
* cgraphunit.c (cgraph_finalize_function): Call cgraph_remove_edge
instead of cgraph_remove_call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71784 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r-- | gcc/cgraph.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 43238e58ecd..8471a725154 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -68,7 +68,6 @@ static GTY(()) struct cgraph_varpool_node *cgraph_varpool_nodes; static struct cgraph_edge *create_edge (struct cgraph_node *, struct cgraph_node *); -static void cgraph_remove_edge (struct cgraph_node *, struct cgraph_node *); static hashval_t hash_node (const void *); static int eq_node (const void *, const void *); @@ -180,7 +179,7 @@ create_edge (struct cgraph_node *caller, struct cgraph_node *callee) /* Remove the edge from CALLER to CALLEE in the cgraph. */ -static void +void cgraph_remove_edge (struct cgraph_node *caller, struct cgraph_node *callee) { struct cgraph_edge **edge, **edge2; |