X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fattributes.h;h=6da0b0ef9cd71b362b45122bd93c1d8300e17620;hb=20dffbf67fd2f091ae0328c28c689702919336a3;hp=56d142e4c23ceb375e7c11e220fa4f34cde62346;hpb=b6604844de4aadfb63903b7e4df6bf0102eadfef;p=pspp diff --git a/src/data/attributes.h b/src/data/attributes.h index 56d142e4c2..6da0b0ef9c 100644 --- a/src/data/attributes.h +++ b/src/data/attributes.h @@ -45,6 +45,7 @@ struct attrset { struct hmap map; }; +#define ATTRSET_INITIALIZER(ATTRSET) { .map = HMAP_INITIALIZER((ATTRSET).map) } void attrset_init (struct attrset *); void attrset_clone (struct attrset *, const struct attrset *);