diff --git a/object.c b/object.c
index 277b3ddba7dc5387cd97cb35c23d3358727898be..2eda53cc6144430f5fcf4b93e80fac9b9e147bfd 100644 (file)
--- a/object.c
+++ b/object.c
struct object_list **list_p)
{
struct object_list *new_list = xmalloc(sizeof(struct object_list));
- new_list->item = item;
- new_list->next = *list_p;
- *list_p = new_list;
- return new_list;
+ new_list->item = item;
+ new_list->next = *list_p;
+ *list_p = new_list;
+ return new_list;
}
int object_list_contains(struct object_list *list, struct object *obj)