diff options
-rw-r--r-- | dwarf_prototypes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dwarf_prototypes.c b/dwarf_prototypes.c index 147f536..71f6e90 100644 --- a/dwarf_prototypes.c +++ b/dwarf_prototypes.c @@ -512,7 +512,7 @@ static bool get_type(struct arg_type_info** info, Dwarf_Die* type_die, struct pr if (type_name != NULL) { struct named_type* already_defined_type = - protolib_lookup_type(plib, type_name, false); + protolib_lookup_type(plib, type_name, true); if (already_defined_type != NULL) { complain(type_die, |