core: Make enumeration__calc_prefix() static
As it is not used outside where it is defined. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
45ec63ed20
commit
ec1667c76d
|
@ -1706,7 +1706,7 @@ static int strcommon(const char *a, const char *b)
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
void enumeration__calc_prefix(struct type *enumeration)
|
static void enumeration__calc_prefix(struct type *enumeration)
|
||||||
{
|
{
|
||||||
if (enumeration->member_prefix)
|
if (enumeration->member_prefix)
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -1087,7 +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);
|
||||||
|
|
||||||
void enumeration__calc_prefix(struct type *type);
|
|
||||||
const char *enumeration__prefix(struct type *type, const struct cu *cu);
|
const char *enumeration__prefix(struct type *type, const struct cu *cu);
|
||||||
uint16_t enumeration__prefix_len(struct type *type, const struct cu *cu);
|
uint16_t enumeration__prefix_len(struct type *type, const struct cu *cu);
|
||||||
int enumeration__max_entry_name_len(struct type *type, const struct cu *cu);
|
int enumeration__max_entry_name_len(struct type *type, const struct cu *cu);
|
||||||
|
|
Loading…
Reference in New Issue