remove File_Impl_Kind from file_linux

This commit is contained in:
jason
2024-07-30 09:41:49 -04:00
parent 278a63caaa
commit 792640df1f
2 changed files with 5 additions and 16 deletions
-5
View File
@@ -13,10 +13,5 @@ _pipe :: proc() -> (r, w: ^File, err: Error) {
r = _new_file(uintptr(fds[0])) or_return
w = _new_file(uintptr(fds[1])) or_return
r_impl := (^File_Impl)(r.impl)
r_impl.kind = .Pipe
w_impl := (^File_Impl)(w.impl)
w_impl.kind = .Pipe
return
}