diff options
Diffstat (limited to 'decls_cgen.c')
-rw-r--r-- | decls_cgen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decls_cgen.c b/decls_cgen.c index 728d83e..e8f7cca 100644 --- a/decls_cgen.c +++ b/decls_cgen.c @@ -152,7 +152,7 @@ static bool cgen_decls_decl(CGenerator *g, Declaration *d) { for (int i = 0, n_idents = (int)arr_len(d->idents); i < n_idents; ++i) { Identifier ident = d->idents[i]; Type *type = decl_type_at_index(d, i); - if (!type_contains_compileonly_type(type)) { + if (!type_is_compileonly(type)) { if (ident->export_name) cgen_write(g, "extern "); else |