X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=object.h;h=4d1d61546f0441bd198cda3ad153b35a91444b72;hb=fd5c363da4635d81f29193ae19d8fa7b5657ab39;hp=89dd0c47a6c86fd3a63370c84e574e799830e1d3;hpb=35da43e9bb4a5d7542c2ee27e0a3557ac921e3ab;p=git.git diff --git a/object.h b/object.h index 89dd0c47a..4d1d61546 100644 --- a/object.h +++ b/object.h @@ -21,6 +21,8 @@ struct object_array { } *objects; }; +#define OBJECT_ARRAY_INIT { 0, 0, NULL } + #define TYPE_BITS 3 #define FLAG_BITS 27 @@ -72,11 +74,6 @@ struct object *lookup_unknown_object(const unsigned char *sha1); 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); /* Object array handling .. */