commit ad415de3963c6990d6de84de3c18a2bcff9082ec
parent 438b7015e7b452442f2b5fdff41061eef795b0ad
Author: Eyal Sawady <ecs@d2evs.net>
Date: Sat, 4 Sep 2021 10:32:37 +0000
Error out on unexported aliases in structs
Signed-off-by: Eyal Sawady <ecs@d2evs.net>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/typedef.c b/src/typedef.c
@@ -260,7 +260,7 @@ emit_type(const struct type *type, FILE *out)
break;
case STORAGE_STRUCT:
case STORAGE_UNION:
- emit_struct(type, out);
+ ret &= emit_struct(type, out);
break;
case STORAGE_FUNCTION:
if (type->func.flags & FN_NORETURN) {