aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/cgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/cgen.c')
-rw-r--r--bootstrap/cgen.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/bootstrap/cgen.c b/bootstrap/cgen.c
index 9053331..9a28829 100644
--- a/bootstrap/cgen.c
+++ b/bootstrap/cgen.c
@@ -606,7 +606,6 @@ static void defctype(const struct type *ty, void *_);
static void
genfn(bool externp, const char *cname, struct fn *fn) {
liftnested(fn->body);
- defctype(fn->retty,NULL);
if (!externp)
pri("static ");
pri("%t %s(", fn->retty, cname);