aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2001-05-07 15:45:24 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2001-05-07 15:45:24 +0000
commit5cdba4ff5fcb672b983d5dbffba74d89b899a2ab (patch)
treef4070967fe8b5e20c049120c92a27ab4519f2986 /include
parentb73bff7e3f78151ef33441bd66e8ac3df12f0b80 (diff)
downloadgcc-5cdba4ff5fcb672b983d5dbffba74d89b899a2ab.zip
gcc-5cdba4ff5fcb672b983d5dbffba74d89b899a2ab.tar.gz
gcc-5cdba4ff5fcb672b983d5dbffba74d89b899a2ab.tar.bz2
splay-tree.h (splay_tree_max): New function.
* splay-tree.h (splay_tree_max): New function. (splay_tree_min): Likewise. From-SVN: r41895
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog5
-rw-r--r--include/splay-tree.h4
2 files changed, 9 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index f0a166c..e441ba9 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-07 Mark Mitchell <mark@codesourcery.com>
+
+ * splay-tree.h (splay_tree_max): New function.
+ (splay_tree_min): Likewise.
+
2001-04-15 Daniel Berlin <dan@cgsoftware.com>
* ternary.h: New file - Ternary search tree header.
diff --git a/include/splay-tree.h b/include/splay-tree.h
index e43d4b6..37e9a35 100644
--- a/include/splay-tree.h
+++ b/include/splay-tree.h
@@ -110,6 +110,10 @@ extern splay_tree_node splay_tree_predecessor
extern splay_tree_node splay_tree_successor
PARAMS((splay_tree,
splay_tree_key));
+extern splay_tree_node splay_tree_max
+ PARAMS((splay_tree));
+extern splay_tree_node splay_tree_min
+ PARAMS((splay_tree));
extern int splay_tree_foreach PARAMS((splay_tree,
splay_tree_foreach_fn,
void*));