list_remove function <BLOC/list.h>
The list_remove function removes an object from a list. If the object is not in the list, the call will return normally.
Syntax
void list_remove( List *list, void *obj );
Parameters
list
A pointer to a List object.
obj
A pointer to the object to be removed from the list. If this object is in the list, it will be removed, and the internal reference to it dropped.