From: Mike Stump Date: Thu, 12 Sep 2002 00:51:25 +0000 (+0000) Subject: * splay-tree.c (splay_tree_successor): Fix comments. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6eedb9ca7676c3b966237ec9f111e107370c7bc4;p=gcc.git * splay-tree.c (splay_tree_successor): Fix comments. From-SVN: r57044 --- diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index f60ce09252d..52565aafa43 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,7 @@ +2002-09-10 Mike Stump + + * splay-tree.c (splay_tree_successor): Fix comments. + 2002-09-11 Zack Weinberg * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c. diff --git a/libiberty/splay-tree.c b/libiberty/splay-tree.c index 7999447bc11..3227ed3d3a6 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;