diff options
-rw-r--r-- | lib/libc/stdlib/rb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdlib/rb.h b/lib/libc/stdlib/rb.h index 10f94af..fe94a9f 100644 --- a/lib/libc/stdlib/rb.h +++ b/lib/libc/stdlib/rb.h @@ -743,7 +743,7 @@ a_prefix##remove(a_tree_type *tree, a_type *node) { \ * * rb_foreach_begin(a_type, a_field, a_tree, node) { * ... - * rb_prev(a_type, a_field, a_cmp, a_tree, node, tnode); + * rb_next(a_type, a_field, a_cmp, a_tree, node, tnode); * rb_remove(a_type, a_field, a_cmp, a_tree, node); * rb_foreach_next(a_type, a_field, a_cmp, a_tree, tnode); * ... |