diff options
author | Mike Stump <mrs@apple.com> | 2002-09-12 00:51:25 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2002-09-12 00:51:25 +0000 |
commit | 6eedb9ca7676c3b966237ec9f111e107370c7bc4 (patch) | |
tree | 8459439e603ba32f5af1b4e0f932d0d0fa3d5ab9 /libiberty/splay-tree.c | |
parent | 09bfbc1c1157e9dec90a9c826eab6d1d6306006b (diff) | |
download | gcc-6eedb9ca7676c3b966237ec9f111e107370c7bc4.zip gcc-6eedb9ca7676c3b966237ec9f111e107370c7bc4.tar.gz gcc-6eedb9ca7676c3b966237ec9f111e107370c7bc4.tar.bz2 |
* splay-tree.c (splay_tree_successor): Fix comments.
From-SVN: r57044
Diffstat (limited to 'libiberty/splay-tree.c')
-rw-r--r-- | libiberty/splay-tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/splay-tree.c b/libiberty/splay-tree.c index 7999447..3227ed3 100644 --- a/libiberty/splay-tree.c +++ b/libiberty/splay-tree.c @@ -482,7 +482,7 @@ splay_tree_predecessor (sp, key) } /* Return the immediate successor KEY, or NULL if there is no - predecessor. KEY need not be present in the tree. */ + successor. KEY need not be present in the tree. */ splay_tree_node splay_tree_successor (sp, key) @@ -492,7 +492,7 @@ splay_tree_successor (sp, key) int comparison; splay_tree_node node; - /* If the tree is empty, there is certainly no predecessor. */ + /* If the tree is empty, there is certainly no successor. */ if (!sp->root) return NULL; |