summaryrefslogtreecommitdiff
path: root/decls_cgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'decls_cgen.c')
-rw-r--r--decls_cgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/decls_cgen.c b/decls_cgen.c
index e026584..0192ecf 100644
--- a/decls_cgen.c
+++ b/decls_cgen.c
@@ -144,7 +144,7 @@ static void cgen_fn_decl(CGenerator *g, FnExpr *f, Type *t) {
cgen_ctype(g, &ctypes[0]);
}
- cgen_write(g, " const (*");
+ cgen_write(g, " (* const ");
cgen_fn_name(g, f);
cgen_write(g, ")(");
for (size_t i = 1; i < arr_len(fn_types); ++i) {