summaryrefslogtreecommitdiff
path: root/cgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgen.c')
-rw-r--r--cgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgen.c b/cgen.c
index 941f988..d84c598 100644
--- a/cgen.c
+++ b/cgen.c
@@ -1987,7 +1987,7 @@ static bool cgen_file(CGenerator *g, ParsedFile *f) {
"static void free_(void *data) { extern void free(void *data); free(data); }\n" /* don't introduce free to global namespace */
"static void *e__calloc(size_t n, size_t sz) { extern void *calloc(size_t n, size_t size); extern void abort(void); void *ret = calloc(n, sz); if (!ret) { fprintf(stderr, \"Out of memory.\\n\"); abort(); } return ret; }\n\n\n");
- if (!typedefs_file(g, f))
+ if (!cgen_sdecls_file(g, f))
return false;
if (!cgen_decls_file(g, f))
return false;