From 11743fd21a99b32ae358f56b7cabdd8368bf78aa Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Sun, 17 May 2020 11:48:51 -0700 Subject: change signature for string functions --- sys/libn/bufio.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'sys/libn/bufio.c') diff --git a/sys/libn/bufio.c b/sys/libn/bufio.c index 38714a5..ac8e175 100644 --- a/sys/libn/bufio.c +++ b/sys/libn/bufio.c @@ -91,11 +91,6 @@ bufio·ungetbyte(io·Buffer *buf, byte c) return bufio·err; } - if (c != *buf->pos) { - errorf("unget char does not match"); - return bufio·err; - } - buf->pos--; return 0; } -- cgit v1.2.1