diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-09-10 21:28:21 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-09-10 21:28:21 +0000 |
commit | 508f18c8cfcf812f41173c35b744d20f6a4fd1e6 (patch) | |
tree | 1e8723081c38db164b19ba96fc74d4c49fb08d3d /include/splay-tree.h | |
parent | 143982494fade70bb8224d730a0a63ff0b143fa3 (diff) | |
download | gcc-508f18c8cfcf812f41173c35b744d20f6a4fd1e6.tar.gz |
* splay-tree.h (splay_tree_predecessor): Declare.
* splay-tree.c (splay_tree_predecessor): New function.
(splay_tree_successor): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36304 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include/splay-tree.h')
-rw-r--r-- | include/splay-tree.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/splay-tree.h b/include/splay-tree.h index 39882a4beac..f53f855767b 100644 --- a/include/splay-tree.h +++ b/include/splay-tree.h @@ -1,5 +1,5 @@ /* A splay-tree datatype. - Copyright (C) 1998 Free Software Foundation, Inc. + Copyright (C) 1998, 2000 Free Software Foundation, Inc. Contributed by Mark Mitchell (mark@markmitchell.com). This file is part of GNU CC. @@ -104,6 +104,12 @@ extern void splay_tree_remove PARAMS((splay_tree, extern splay_tree_node splay_tree_lookup PARAMS((splay_tree, splay_tree_key)); +extern splay_tree_node splay_tree_predecessor + PARAMS((splay_tree, + splay_tree_key)); +extern splay_tree_node splay_tree_successor + PARAMS((splay_tree, + splay_tree_key)); extern int splay_tree_foreach PARAMS((splay_tree, splay_tree_foreach_fn, void*)); |