aboutsummaryrefslogtreecommitdiff
path: root/src/stdio/__stdio_read.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/__stdio_read.c')
-rw-r--r--src/stdio/__stdio_read.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/stdio/__stdio_read.c b/src/stdio/__stdio_read.c
index ea675da3..2db85e6c 100644
--- a/src/stdio/__stdio_read.c
+++ b/src/stdio/__stdio_read.c
@@ -22,3 +22,11 @@ size_t __stdio_read(FILE *f, unsigned char *buf, size_t len)
if (f->buf_size) buf[len-1] = *f->rpos++;
return len;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif