mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fix v -o foo.c build module foo
This commit is contained in:
@ -8,9 +8,7 @@ pub:
|
||||
|
||||
pub fn strlen(s byteptr) int {
|
||||
mut i := 0
|
||||
for i = 0; s[i] != 0; i++ {
|
||||
|
||||
}
|
||||
for ; s[i] != 0; i++ {}
|
||||
return i
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user