From a59b276e18f3d4a548caf549e05188cb1bd3a709 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Mon, 16 Apr 2007 16:03:15 -0700 Subject: Add a generic "object decorator" interface, and make object refs use it This allows you to add an arbitrary "decoration" of your choice to any object. It's a space- and time-efficient way to add information to arbitrary objects, especially if most objects probably do not have the decoration. Signed-off-by: Linus Torvalds Signed-off-by: Junio C Hamano --- object.h | 1 - 1 file changed, 1 deletion(-) (limited to 'object.h') diff --git a/object.h b/object.h index bdbf0facd4..bdbbc1889c 100644 --- a/object.h +++ b/object.h @@ -8,7 +8,6 @@ struct object_list { struct object_refs { unsigned count; - struct object *base; struct object *ref[FLEX_ARRAY]; /* more */ }; -- cgit v1.2.1