fprintf: string_type__fprintf() doesn't need a 'cu' arg
Another simplification made possible by using a plain char string instead of string_t, that was only needed in the core as prep work for CTF encoding. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
a75c342ac2
commit
38ff86b149
|
@ -248,8 +248,7 @@ static size_t array_type__fprintf(const struct tag *tag,
|
|||
return printed;
|
||||
}
|
||||
|
||||
static size_t string_type__fprintf(const struct tag *tag,
|
||||
const struct cu *cu, const char *name,
|
||||
static size_t string_type__fprintf(const struct tag *tag, const char *name,
|
||||
const struct conf_fprintf *conf,
|
||||
FILE *fp)
|
||||
{
|
||||
|
@ -773,7 +772,7 @@ print_default:
|
|||
printed += array_type__fprintf(type, cu, name, &tconf, fp);
|
||||
break;
|
||||
case DW_TAG_string_type:
|
||||
printed += string_type__fprintf(type, cu, name, &tconf, fp);
|
||||
printed += string_type__fprintf(type, name, &tconf, fp);
|
||||
break;
|
||||
case DW_TAG_class_type:
|
||||
case DW_TAG_structure_type:
|
||||
|
|
Loading…
Reference in New Issue