From e0630766450d402455d9c8368087f96d8075c07c Mon Sep 17 00:00:00 2001 From: lemon Date: Fri, 5 Aug 2022 09:31:06 +0200 Subject: headers, import --- bootstrap/dump.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bootstrap/dump.c') 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); } -- cgit v1.2.3