From 29b56ef4e4113bcd091b19d6926f18814162ca53 Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Tue, 26 Oct 2021 21:01:41 -0700 Subject: Feat(libunicode): Added an explicit unicode library Refactored code to pull out utf8 functions from base into a standalone library. Also left the required function inside arg.c so that code that calls ARG_BEGIN doesn't have to link to libunicode. --- sys/base/bufio.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/base/bufio.c') diff --git a/sys/base/bufio.c b/sys/base/bufio.c index 7ebee68..cc08f66 100644 --- a/sys/base/bufio.c +++ b/sys/base/bufio.c @@ -94,6 +94,7 @@ bufio·ungetbyte(io·Buffer *buf, byte c) return 0; } +#if 0 rune bufio·getrune(io·Buffer *buf) { @@ -152,6 +153,7 @@ bufio·ungetrune(io·Buffer *buf, rune r) buf->pos -= buf->runesize; return 0; } +#endif int bufio·read(io·Buffer *buf, int sz, int n, void *out) -- cgit v1.2.1