diff options
author | Mark Mitchell <mark@codesourcery.com> | 1999-08-02 05:54:50 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-08-02 05:54:50 +0000 |
commit | d080bbfa45ca390f4beec7985f963fd2dbb10327 (patch) | |
tree | 86608681013a7566167676ce261bb64da3651063 /include | |
parent | eec9ef57bf59ea4e488f663e8007d11e6c599f21 (diff) | |
download | gcc-d080bbfa45ca390f4beec7985f963fd2dbb10327.zip gcc-d080bbfa45ca390f4beec7985f963fd2dbb10327.tar.gz gcc-d080bbfa45ca390f4beec7985f963fd2dbb10327.tar.bz2 |
* splay-tree.h (splay_tree_insert): Return the new node.
From-SVN: r28389
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/splay-tree.h | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 6ec3b0b..5d213d5 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 e828fe7..307cf05 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 |