From 12d3664a09cfa4bda2b6dcd81432330bc7b98859 Mon Sep 17 00:00:00 2001 From: Rasheed Date: Tue, 11 Oct 2022 10:53:12 -0700 Subject: [PATCH] builtin: add a declaration for C.putchar (#16037) --- vlib/builtin/cfns.c.v | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vlib/builtin/cfns.c.v b/vlib/builtin/cfns.c.v index 23a6761dba..6902f65f9f 100644 --- a/vlib/builtin/cfns.c.v +++ b/vlib/builtin/cfns.c.v @@ -184,6 +184,9 @@ fn C.strchr(s &char, c int) &char [trusted] fn C.getchar() int +[trusted] +fn C.putchar(int) int + fn C.strdup(s &char) &char fn C.strncasecmp(s &char, s2 &char, n int) int