X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=object.h;h=bf744490a9a75c5e84af6384b2fa2bc4eb492452;hb=0de68d28d34f915951324b9f387e6e67172e9951;hp=5af530da5decf0abbfafeee041143c0acd0d600a;hpb=d59a6043a8a7aed97c684fb4f14fe5221df1fcaf;p=git.git diff --git a/object.h b/object.h index 5af530da..bf744490 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);