Browse Source

Make `os._file_stream_vtable` private

gingerBill 4 years ago
parent
commit
875415daa9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      core/os/stream.odin

+ 1 - 0
core/os/stream.odin

@@ -10,6 +10,7 @@ stream_from_handle :: proc(fd: Handle) -> io.Stream {
 }
 
 
+@(private)
 _file_stream_vtable := &io.Stream_VTable{
 	impl_read = proc(s: io.Stream, p: []byte) -> (n: int, err: io.Error) {
 		fd := Handle(uintptr(s.stream_data));