* splay-tree.c (splay_tree_successor): Fix comments.

From-SVN: r57044
This commit is contained in:
Mike Stump 2002-09-12 00:51:25 +00:00 committed by Mike Stump
parent 09bfbc1c11
commit 6eedb9ca76
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2002-09-10 Mike Stump <mrs@apple.com>
* splay-tree.c (splay_tree_successor): Fix comments.
2002-09-11 Zack Weinberg <zack@codesourcery.com>
* cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.

View File

@ -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;