From d46d607334c97b101b9b7d66fad3fbe8fa8b9fa1 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Wed, 7 Oct 2020 11:32:50 +0300 Subject: [PATCH] backporting: remove C typedef redefinitions of map_int/map_string/array_byte/array_string --- vlib/strconv/atoi.v | 2 -- vlib/v/gen/cheaders.v | 8 ++++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/vlib/strconv/atoi.v b/vlib/strconv/atoi.v index c002ba6569..b20d5c2383 100644 --- a/vlib/strconv/atoi.v +++ b/vlib/strconv/atoi.v @@ -84,7 +84,6 @@ pub fn common_parse_uint2(s string, _base int, _bit_size int) (u64, int) { // Use compile-time constants for common cases. cutoff := max_u64 / u64(base) + u64(1) max_val := if bit_size == 64 { max_u64 } else { (u64(1)<