X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Ftypes.h;h=3d396c86b03b5d161ab35bace26cc2b965ad4eed;hp=fe7ab62950f10604a1f4971b03f901bb6ab71f3c;hb=6ee5115efee00adab0c8f384bc9c0f38fed8a84e;hpb=e19c3d69b39d2fa422ab54b5ec7192799f536680 diff --git a/include/babeltrace/types.h b/include/babeltrace/types.h index fe7ab629..3d396c86 100644 --- a/include/babeltrace/types.h +++ b/include/babeltrace/types.h @@ -229,7 +229,7 @@ struct type_field { }; struct field { - struct declaration *type; + struct declaration *declaration; }; struct type_struct { @@ -255,7 +255,7 @@ struct declaration_variant { struct declaration p; struct type_variant *type; struct declaration_scope *scope; - struct declaration *tag; + struct declaration *enum_tag; GArray *fields; /* Array of struct field */ struct field *current_field; /* Last field read */ };