aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/dump.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-08-05 09:31:06 +0200
committerlemon <lsof@mailbox.org>2022-08-05 09:31:06 +0200
commite0630766450d402455d9c8368087f96d8075c07c (patch)
tree57c6815ff9c4e4264e39f4643e60e4d0be7c192c /bootstrap/dump.c
parent9667272414380e2d50113e0a0c6408a02e7c23eb (diff)
headers, import
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);
}