diff --git a/dwarves_emit.c b/dwarves_emit.c index d9c8cfb..e6d96b2 100644 --- a/dwarves_emit.c +++ b/dwarves_emit.c @@ -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) diff --git a/dwarves_emit.h b/dwarves_emit.h index acff645..be02acd 100644 --- a/dwarves_emit.h +++ b/dwarves_emit.h @@ -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,