summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--6/genp9.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/6/genp9.c b/6/genp9.c
index b138cd8..0a83335 100644
--- a/6/genp9.c
+++ b/6/genp9.c
@@ -50,6 +50,7 @@ static void initconsts(Htab *globls)
tyvoid = mktype(Zloc, Tyvoid);
ty = mktyfunc(Zloc, NULL, 0, mktype(Zloc, Tyvoid));
+ ty->type = Tycode;
name = mknsname(Zloc, "_rt", "abort_oob");
dcl = mkdecl(Zloc, name, ty);
dcl->decl.isconst = 1;