X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=object.h;h=036bd66fe9b6591e959e6df51160e636ab1a682e;hb=2c47789d817aaf745a5ce5d5f79619c634cc8566;hp=397bbfa090cd281214013c42a5f0b1de6063a861;hpb=941fd1c041204f30279c175ca9b7252ffcb52ba2;p=git.git diff --git a/object.h b/object.h index 397bbfa09..036bd66fe 100644 --- a/object.h +++ b/object.h @@ -35,14 +35,11 @@ struct object { unsigned char sha1[20]; }; -extern int track_object_refs; - extern const char *typename(unsigned int type); extern int type_from_string(const char *str); extern unsigned int get_max_object_index(void); extern struct object *get_indexed_object(unsigned int); -extern struct object_refs *lookup_object_refs(struct object *); /** Internal only **/ struct object *lookup_object(const unsigned char *sha1); @@ -61,11 +58,6 @@ struct object *parse_object_buffer(const unsigned char *sha1, enum object_type t /** Returns the object, with potentially excess memory allocated. **/ struct object *lookup_unknown_object(const unsigned char *sha1); -struct object_refs *alloc_object_refs(unsigned count); -void set_object_refs(struct object *obj, struct object_refs *refs); - -void mark_reachable(struct object *obj, unsigned int mask); - struct object_list *object_list_insert(struct object *item, struct object_list **list_p);