From 680bab3d9a33029be38590681832ae9b6d74ad60 Mon Sep 17 00:00:00 2001 From: Daniel Barkalow Date: Mon, 5 Sep 2005 02:04:18 -0400 Subject: [PATCH] Add function to append to an object_list. Signed-off-by: Daniel Barkalow Signed-off-by: Junio C Hamano --- object.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'object.h') diff --git a/object.h b/object.h index 5af530da5d..bf744490a9 100644 --- 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); -- cgit v1.2.1