X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fcdump%2Fcdump.h;h=30822ec50c7f84fab449d7b253615cb304b9f847;hb=ab244401cdba4513f3a3064c5f403fc2a59bf017;hp=312767b41754ae009db21b28cdfdce30be118c23;hpb=0229ddbf05d402b994133641ecfcdafd4bf73389;p=ccan diff --git a/ccan/cdump/cdump.h b/ccan/cdump/cdump.h index 312767b4..30822ec5 100644 --- a/ccan/cdump/cdump.h +++ b/ccan/cdump/cdump.h @@ -50,14 +50,12 @@ struct cdump_type { }; /* The map of typenames to definitions */ -struct cdump_map { - STRMAP_MEMBERS(struct cdump_type *); -}; +typedef STRMAP(struct cdump_type *) cdump_map_t; struct cdump_definitions { - struct cdump_map enums; - struct cdump_map structs; - struct cdump_map unions; + cdump_map_t enums; + cdump_map_t structs; + cdump_map_t unions; }; /**