summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>1999-08-02 05:54:50 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>1999-08-02 05:54:50 +0000
commita9f46aed69f9a9f8390bf4eea47cb4d6043ecb11 (patch)
tree86608681013a7566167676ce261bb64da3651063 /include
parent2bba63d69171150ff7373cb17745e2ab05c22236 (diff)
downloadgcc-a9f46aed69f9a9f8390bf4eea47cb4d6043ecb11.tar.gz
* splay-tree.h (splay_tree_insert): Return the new node.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28389 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/splay-tree.h3
2 files changed, 6 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 6ec3b0b963d..5d213d52993 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+1999-08-01 Mark Mitchell <mark@codesourcery.com>
+
+ * splay-tree.h (splay_tree_insert): Return the new node.
+
1999-07-11 Ian Lance Taylor <ian@zembu.com>
* ansidecl.h: Copy attribute support macros from egcs.
diff --git a/include/splay-tree.h b/include/splay-tree.h
index e828fe7e907..307cf054e12 100644
--- a/include/splay-tree.h
+++ b/include/splay-tree.h
@@ -95,7 +95,8 @@ extern splay_tree splay_tree_new PARAMS((splay_tree_compare_fn,
splay_tree_delete_key_fn,
splay_tree_delete_value_fn));
extern void splay_tree_delete PARAMS((splay_tree));
-extern void splay_tree_insert PARAMS((splay_tree,
+extern splay_tree_node splay_tree_insert
+ PARAMS((splay_tree,
splay_tree_key,
splay_tree_value));
extern splay_tree_node splay_tree_lookup