From 16794052689697f5ce51f8b59e66f8f2b9f3ff7e Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 12 Feb 2023 13:18:29 +0100 Subject: [PATCH] Don't export reader types These are opaquely accessed through *io::stream --- net/http/transport.ha | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/http/transport.ha b/net/http/transport.ha index 6e860bf..41044eb 100644 --- a/net/http/transport.ha +++ b/net/http/transport.ha @@ -114,7 +114,7 @@ fn new_reader( return stream as *io::stream; }; -export type identity_reader = struct { +type identity_reader = struct { vtable: io::stream, conn: io::handle, buffer: [os::BUFSIZ]u8, @@ -181,7 +181,7 @@ fn identity_read( return n; }; -export type chunked_reader = struct { +type chunked_reader = struct { vtable: io::stream, conn: io::handle, buffer: [os::BUFSIZ]u8,