aboutsummaryrefslogtreecommitdiff
path: root/structs.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-10-30 14:02:34 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-10-30 14:02:34 -0400
commitfb683a2b1b962da4f00eb86c57b9c75fbcdf9908 (patch)
treeb8d3cb84bcc1d0255cba900f32e037d6f575a3d0 /structs.c
parentbdca4fc6e1d3a9ce1306313528067f012a60341b (diff)
Organize typedef headers so the typedefs come before the namespace
members
Diffstat (limited to 'structs.c')
-rw-r--r--structs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/structs.c b/structs.c
index 489d27a5..5915f111 100644
--- a/structs.c
+++ b/structs.c
@@ -74,8 +74,7 @@ CORD compile_struct_header(env_t *env, ast_t *ast)
"};\n"
"};\n"
"} ", namespace_prefix(env, env->namespace), "$Optional", def->name, "_t;\n"
- "extern const TypeInfo_t ", full_name, ";\n",
- compile_namespace_header(env, def->name, def->namespace));
+ "extern const TypeInfo_t ", full_name, ";\n");
}
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0