X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=object.h;h=e08afbd29ff04cf463a4aacdc4fe141a2ab54ce6;hb=cdd406e389bd6e0b2ad9394340a366c0c5ae27fc;hp=336d986b51831db7812fd9bbd6a818803935fde2;hpb=3eeb419968c1f8f0a762a7127db770e9d9c8037d;p=git.git diff --git a/object.h b/object.h index 336d986b5..e08afbd29 100644 --- a/object.h +++ b/object.h @@ -9,7 +9,7 @@ struct object_list { struct object_refs { unsigned count; - struct object *ref[0]; + struct object *ref[FLEX_ARRAY]; /* more */ }; struct object { @@ -23,7 +23,7 @@ struct object { }; extern int track_object_refs; -extern int nr_objs; +extern int obj_allocs; extern struct object **objs; /** Internal only **/