|
@@ -52,9 +52,9 @@ int intlist__add(struct intlist *ilist, int i)
|
|
return rblist__add_node(&ilist->rblist, (void *)((long)i));
|
|
return rblist__add_node(&ilist->rblist, (void *)((long)i));
|
|
}
|
|
}
|
|
|
|
|
|
-void intlist__remove(struct intlist *ilist __used, struct int_node *node)
|
|
|
|
|
|
+void intlist__remove(struct intlist *ilist, struct int_node *node)
|
|
{
|
|
{
|
|
- int_node__delete(node);
|
|
|
|
|
|
+ rblist__remove_node(&ilist->rblist, &node->rb_node);
|
|
}
|
|
}
|
|
|
|
|
|
struct int_node *intlist__find(struct intlist *ilist, int i)
|
|
struct int_node *intlist__find(struct intlist *ilist, int i)
|