aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/dump.c')
-rw-r--r--bootstrap/dump.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bootstrap/dump.c b/bootstrap/dump.c
index ced692d..5d83503 100644
--- a/bootstrap/dump.c
+++ b/bootstrap/dump.c
@@ -407,7 +407,7 @@ dumpdecl(const struct decl *decl, int ws) {
}
void
-dumptransunit(const struct transunit *tu) {
- for (int i = 0; i < tu->decls.n; ++i)
- dumpdecl(&tu->decls.d[i], 0);
+dumpcomfile(const struct comfile *cf) {
+ for (int i = 0; i < cf->decls.n; ++i)
+ dumpdecl(&cf->decls.d[i], 0);
}