1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

remove more C headers

This commit is contained in:
Alexander Medvednikov
2019-10-26 01:55:16 +03:00
parent dc2c62807a
commit 7de95a642e
3 changed files with 7 additions and 18 deletions

View File

@@ -12,8 +12,8 @@ import strings
/*
struct dirent {
d_ino int
d_off int
d_ino int
d_off int
d_reclen u16
d_type byte
d_name [256]byte
@@ -700,7 +700,7 @@ pub fn executable() string {
$if mac {
mut result := malloc(MAX_PATH)
pid := C.getpid()
ret := C.proc_pidpath (pid, result, MAX_PATH)
ret := proc_pidpath (pid, result, MAX_PATH)
if ret <= 0 {
println('os.executable() failed')
return '.'