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:
parent
9aa5db7acd
commit
7721cc17ac
|
@ -193,7 +193,7 @@ out:
|
||||||
return 1;
|
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? */
|
/* Have we already emitted this in this CU? */
|
||||||
if (ctype->fwd_decl_emitted)
|
if (ctype->fwd_decl_emitted)
|
||||||
|
|
|
@ -27,7 +27,6 @@ int ftype__emit_definitions(struct ftype *ftype, struct cu *cu,
|
||||||
struct type_emissions *emissions, FILE *fp);
|
struct type_emissions *emissions, FILE *fp);
|
||||||
int type__emit_definitions(struct tag *tag, struct cu *cu,
|
int type__emit_definitions(struct tag *tag, struct cu *cu,
|
||||||
struct type_emissions *emissions, FILE *fp);
|
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,
|
void type__emit(struct tag *tag_type, struct cu *cu,
|
||||||
const char *prefix, const char *suffix, FILE *fp);
|
const char *prefix, const char *suffix, FILE *fp);
|
||||||
struct type *type_emissions__find_definition(const struct type_emissions *temissions,
|
struct type *type_emissions__find_definition(const struct type_emissions *temissions,
|
||||||
|
|
Loading…
Reference in New Issue