]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* splay-tree.c (splay_tree_successor): Fix comments.
authorMike Stump <mrs@apple.com>
Thu, 12 Sep 2002 00:51:25 +0000 (00:51 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Thu, 12 Sep 2002 00:51:25 +0000 (00:51 +0000)
From-SVN: r57044

libiberty/ChangeLog
libiberty/splay-tree.c

index f60ce09252d022048b0c88a1c9f9b755ce17f632..52565aafa43540290b7443692570a017256e319b 100644 (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.
index 7999447bc11022037536c056cd96f5661de92992..3227ed3d3a603d0bfb76fa9ef8b70aa9eb5c4bd0 100644 (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;