diff --git a/vlib/v/gen/tests/1.c b/vlib/v/gen/tests/1.c index 94ed91f369..81231ca9ce 100644 --- a/vlib/v/gen/tests/1.c +++ b/vlib/v/gen/tests/1.c @@ -47,7 +47,7 @@ struct varg_int { // int main(int argc, char** argv) { - _init(); + _vinit(); os__args = os__init_os_args(argc, (byteptr*)argv); int a = 10; a++; @@ -190,7 +190,7 @@ int localmod__get_int_10() { return 10; } -void _init() { +void _vinit() { pi2 = pi; } diff --git a/vlib/v/gen/tests/2.c b/vlib/v/gen/tests/2.c index 6734f7d99c..b915fdc22c 100644 --- a/vlib/v/gen/tests/2.c +++ b/vlib/v/gen/tests/2.c @@ -76,12 +76,12 @@ void end() { int main(int argc, char** argv) { - _init(); + _vinit(); os__args = os__init_os_args(argc, (byteptr*)argv); return 0; } -void _init() { +void _vinit() { } diff --git a/vlib/v/gen/tests/3.c b/vlib/v/gen/tests/3.c index 1937054934..5d8f05769f 100644 --- a/vlib/v/gen/tests/3.c +++ b/vlib/v/gen/tests/3.c @@ -63,7 +63,7 @@ void handle_expr(Expr e) { } int main(int argc, char** argv) { - _init(); + _vinit(); os__args = os__init_os_args(argc, (byteptr*)argv); User user = (User){ 0}; @@ -77,6 +77,6 @@ int main(int argc, char** argv) { return 0; } -void _init() { +void _vinit() { } diff --git a/vlib/v/gen/tests/4.c b/vlib/v/gen/tests/4.c index 316dd7260f..c356d988c9 100644 --- a/vlib/v/gen/tests/4.c +++ b/vlib/v/gen/tests/4.c @@ -23,7 +23,7 @@ int Foo_testb(Foo* f); int Bar_testa(Bar* b); int main(int argc, char** argv) { - _init(); + _vinit(); os__args = os__init_os_args(argc, (byteptr*)argv); Bar b = (Bar){ .a = 122, @@ -94,5 +94,5 @@ int Bar_testa(Bar* b) { return 4; } -void _init() { +void _vinit() { }