emit: type__emit_fwd_decl() isn't used outside emit.c, make it static

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2021-06-24 21:02:23 -03:00
parent 9aa5db7acd
commit 7721cc17ac
2 changed files with 1 additions and 2 deletions

View File

@ -193,7 +193,7 @@ out:
return 1;
}
int type__emit_fwd_decl(struct type *ctype, struct type_emissions *emissions, FILE *fp)
static int type__emit_fwd_decl(struct type *ctype, struct type_emissions *emissions, FILE *fp)
{
/* Have we already emitted this in this CU? */
if (ctype->fwd_decl_emitted)

View File

@ -27,7 +27,6 @@ int ftype__emit_definitions(struct ftype *ftype, struct cu *cu,
struct type_emissions *emissions, FILE *fp);
int type__emit_definitions(struct tag *tag, struct cu *cu,
struct type_emissions *emissions, FILE *fp);
int type__emit_fwd_decl(struct type *ctype, struct type_emissions *emissions, FILE *fp);
void type__emit(struct tag *tag_type, struct cu *cu,
const char *prefix, const char *suffix, FILE *fp);
struct type *type_emissions__find_definition(const struct type_emissions *temissions,