core: Make enumeration__max_entry_name_len() 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
dc83336171
commit
bb22f5bb0a
|
@ -1089,7 +1089,6 @@ struct class_member *type__last_member(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);
|
|
||||||
|
|
||||||
void enumerations__calc_prefix(struct list_head *enumerations);
|
void enumerations__calc_prefix(struct list_head *enumerations);
|
||||||
|
|
||||||
|
|
|
@ -362,7 +362,7 @@ static size_t imported_module__fprintf(const struct tag *tag,
|
||||||
return fprintf(fp, "using namespace %s", name);
|
return fprintf(fp, "using namespace %s", name);
|
||||||
}
|
}
|
||||||
|
|
||||||
int enumeration__max_entry_name_len(struct type *type)
|
static int enumeration__max_entry_name_len(struct type *type)
|
||||||
{
|
{
|
||||||
if (type->max_tag_name_len)
|
if (type->max_tag_name_len)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
Loading…
Reference in New Issue