core: Ditch unused enumeration__prefix_len() method
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
5cc365164a
commit
f8d98eff75
|
@ -1746,15 +1746,6 @@ void enumerations__calc_prefix(struct list_head *enumerations)
|
||||||
enumeration__calc_prefix(tag__type(pos->tc.tag));
|
enumeration__calc_prefix(tag__type(pos->tc.tag));
|
||||||
}
|
}
|
||||||
|
|
||||||
uint16_t enumeration__prefix_len(struct type *enumeration, const struct cu *cu)
|
|
||||||
{
|
|
||||||
if (!enumeration->member_prefix)
|
|
||||||
enumeration__calc_prefix(enumeration);
|
|
||||||
|
|
||||||
return enumeration->member_prefix_len;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
uint32_t type__nr_members_of_type(const struct type *type, const type_id_t type_id)
|
uint32_t type__nr_members_of_type(const struct type *type, const type_id_t type_id)
|
||||||
{
|
{
|
||||||
struct class_member *pos;
|
struct class_member *pos;
|
||||||
|
|
|
@ -1087,8 +1087,6 @@ struct class_member *type__find_member_by_name(const struct type *type, const ch
|
||||||
uint32_t type__nr_members_of_type(const struct type *type, const type_id_t oftype);
|
uint32_t type__nr_members_of_type(const struct type *type, const type_id_t oftype);
|
||||||
struct class_member *type__last_member(struct type *type);
|
struct class_member *type__last_member(struct type *type);
|
||||||
|
|
||||||
uint16_t enumeration__prefix_len(struct type *type, const struct cu *cu);
|
|
||||||
|
|
||||||
void enumerations__calc_prefix(struct list_head *enumerations);
|
void enumerations__calc_prefix(struct list_head *enumerations);
|
||||||
|
|
||||||
size_t typedef__fprintf(const struct tag *tag_type, const struct cu *cu,
|
size_t typedef__fprintf(const struct tag *tag_type, const struct cu *cu,
|
||||||
|
|
Loading…
Reference in New Issue