diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2020-05-17 11:48:51 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2020-05-17 11:48:51 -0700 |
commit | 11743fd21a99b32ae358f56b7cabdd8368bf78aa (patch) | |
tree | 239aa0a8b58bec4f4f1ad70d6b356e9196f16e0f /sys/libn/bufio.c | |
parent | ec3ad4722a5cd53491d6cf031c94d394f17e5c5e (diff) |
change signature for string functions
Diffstat (limited to 'sys/libn/bufio.c')
-rw-r--r-- | sys/libn/bufio.c | 5 |
1 files changed, 0 insertions, 5 deletions
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; } |