aboutsummaryrefslogtreecommitdiff
path: root/src/base/bufio/ungetc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/bufio/ungetc.c')
-rw-r--r--src/base/bufio/ungetc.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/base/bufio/ungetc.c b/src/base/bufio/ungetc.c
deleted file mode 100644
index 70abbab..0000000
--- a/src/base/bufio/ungetc.c
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "internal.h"
-
-int
-bio·ungetc(io·Header *io)
-{
- if(io->state == io·BufEnd)
- io->state = io·BufRdr;
- if(io->state != io·BufRdr)
- return io·BufEof;
-
- io->ilen--;
- return 0;
-}