aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-03-24 13:46:26 +0000
committergingerBill <bill@gingerbill.org>2024-03-24 13:46:26 +0000
commit670fc70f1f0d8c3e8932e50cbd83e55ee429e02f (patch)
treec290403dde0bba31b9394c3963004b0f4b180247
parent223a336eb496954665aa150e94c80ffd3b4acdae (diff)
Remove private attributes for #3227
-rw-r--r--core/bufio/writer.odin1
-rw-r--r--core/io/multi.odin2
2 files changed, 0 insertions, 3 deletions
diff --git a/core/bufio/writer.odin b/core/bufio/writer.odin
index c3debdaaa..3c7fd30c5 100644
--- a/core/bufio/writer.odin
+++ b/core/bufio/writer.odin
@@ -226,7 +226,6 @@ writer_to_writer :: proc(b: ^Writer) -> (s: io.Writer) {
-@(private)
_writer_proc :: proc(stream_data: rawptr, mode: io.Stream_Mode, p: []byte, offset: i64, whence: io.Seek_From) -> (n: i64, err: io.Error) {
b := (^Writer)(stream_data)
#partial switch mode {
diff --git a/core/io/multi.odin b/core/io/multi.odin
index e85114a7a..e25e8133e 100644
--- a/core/io/multi.odin
+++ b/core/io/multi.odin
@@ -4,7 +4,6 @@ Multi_Reader :: struct {
readers: [dynamic]Reader,
}
-@(private)
_multi_reader_proc :: proc(stream_data: rawptr, mode: Stream_Mode, p: []byte, offset: i64, whence: Seek_From) -> (n: i64, err: Error) {
if mode == .Query {
return query_utility({.Read, .Query})
@@ -58,7 +57,6 @@ Multi_Writer :: struct {
writers: [dynamic]Writer,
}
-@(private)
_multi_writer_proc :: proc(stream_data: rawptr, mode: Stream_Mode, p: []byte, offset: i64, whence: Seek_From) -> (n: i64, err: Error) {
if mode == .Query {
return query_utility({.Write, .Query})