[PATCH] Add function to append to an object_list.
[git/git.git] / object.h
index 5af530d..bf74449 100644 (file)
--- a/object.h
+++ b/object.h
@@ -41,6 +41,9 @@ void mark_reachable(struct object *obj, unsigned int mask);
 struct object_list *object_list_insert(struct object *item, 
                                       struct object_list **list_p);
 
+void object_list_append(struct object *item,
+                       struct object_list **list_p);
+
 unsigned object_list_length(struct object_list *list);
 
 int object_list_contains(struct object_list *list, struct object *obj);