]> git.ipfire.org Git - thirdparty/git.git/blobdiff - attr.c
hashmap_entry: remove first member requirement from docs
[thirdparty/git.git] / attr.c
diff --git a/attr.c b/attr.c
index 15f0efdf609fcaa9863dff9cad19235aba5ec365..e5c951db69c282177f5792798cc5683cec33d3e8 100644 (file)
--- a/attr.c
+++ b/attr.c
@@ -62,7 +62,7 @@ static struct attr_hashmap g_attr_hashmap;
 
 /* The container for objects stored in "struct attr_hashmap" */
 struct attr_hash_entry {
-       struct hashmap_entry ent; /* must be the first member! */
+       struct hashmap_entry ent;
        const char *key; /* the key; memory should be owned by value */
        size_t keylen; /* length of the key */
        void *value; /* the stored value */