From fac821246c582299fc3f7dbd0b84aad43f27e355 Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Tue, 8 Feb 2022 15:16:18 -0300 Subject: [PATCH] core: type->declaration is just one bit, make it a bitfield member It isn't that much used and we need to make space for some new fields. Signed-off-by: Arnaldo Carvalho de Melo --- dwarves.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwarves.h b/dwarves.h index ce6561b..2d68510 100644 --- a/dwarves.h +++ b/dwarves.h @@ -1039,7 +1039,7 @@ struct type { uint16_t max_tag_name_len; uint16_t natural_alignment; bool packed_attributes_inferred; - uint8_t declaration; /* only one bit used */ + uint8_t declaration:1; uint8_t definition_emitted:1; uint8_t fwd_decl_emitted:1; uint8_t resized:1;