summaryrefslogtreecommitdiff
path: root/libiberty/splay-tree.c
diff options
context:
space:
mode:
authorManuel López-Ibáñez <manu@gcc.gnu.org>2008-01-19 00:39:08 +0000
committerManuel López-Ibáñez <manu@gcc.gnu.org>2008-01-19 00:39:08 +0000
commitdaf6ff4c78947c4a770f866a85f152db9b3a4a64 (patch)
tree856f3a908b5fbc002ade447ba2c01604b8013601 /libiberty/splay-tree.c
parent5aa52064eaeee6e093c3fe8e4ab7d94a16e2aa9a (diff)
downloadgcc-daf6ff4c78947c4a770f866a85f152db9b3a4a64.tar.gz
re PR other/33768 (splay-tree.c typo)
2008-01-19 Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR other/33768 * splay-tree.c (rotate_left): Fix minor typo in comment. (rotate_right): Likewise. From-SVN: r131650
Diffstat (limited to 'libiberty/splay-tree.c')
-rw-r--r--libiberty/splay-tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/splay-tree.c b/libiberty/splay-tree.c
index 060f900ae0a..d7ed86813dc 100644
--- a/libiberty/splay-tree.c
+++ b/libiberty/splay-tree.c
@@ -107,7 +107,7 @@ splay_tree_delete_helper (splay_tree sp, splay_tree_node node)
}
/* Rotate the edge joining the left child N with its parent P. PP is the
- grandparents pointer to P. */
+ grandparents' pointer to P. */
static inline void
rotate_left (splay_tree_node *pp, splay_tree_node p, splay_tree_node n)
@@ -120,7 +120,7 @@ rotate_left (splay_tree_node *pp, splay_tree_node p, splay_tree_node n)
}
/* Rotate the edge joining the right child N with its parent P. PP is the
- grandparents pointer to P. */
+ grandparents' pointer to P. */
static inline void
rotate_right (splay_tree_node *pp, splay_tree_node p, splay_tree_node n)