diff options
Diffstat (limited to 'decls_cgen.c')
-rw-r--r-- | decls_cgen.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/decls_cgen.c b/decls_cgen.c index c62b02f..a9cbdf3 100644 --- a/decls_cgen.c +++ b/decls_cgen.c @@ -204,10 +204,7 @@ static bool cgen_decls_decl(CGenerator *g, Declaration *d) { Identifier ident = d->idents[i]; Type *type = decl_type_at_index(d, i); if (!type_is_compileonly(type)) { - if (ident->export_name) { - cgen_write(g, "extern "); - } else - cgen_write(g, "static "); + cgen_write(g, "static "); if (!cgen_type_pre(g, type, d->where)) return false; cgen_write(g, " "); |