From 0eeb607ffd8b96f8e4bba8562f24f5ccb01c7f3a Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Thu, 12 Dec 2019 21:03:08 +0300 Subject: [PATCH] fix fopen definition --- vlib/builtin/cfns.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/builtin/cfns.v b/vlib/builtin/cfns.v index 60d759c6e3..fa685d6891 100644 --- a/vlib/builtin/cfns.v +++ b/vlib/builtin/cfns.v @@ -36,7 +36,7 @@ fn C.fputs(byteptr) int fn C.fflush(byteptr) int // TODO define args in these functions fn C.fseek() int -fn C.fopen() int +fn C.fopen() voidptr fn C.fwrite() int fn C.fclose() int fn C.pclose() int