diff options
Diffstat (limited to 'apps/plugins/lua/getc.c')
-rw-r--r-- | apps/plugins/lua/getc.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/apps/plugins/lua/getc.c b/apps/plugins/lua/getc.c deleted file mode 100644 index 84a280e2c2..0000000000 --- a/apps/plugins/lua/getc.c +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | #include "rocklibc.h" | ||
2 | |||
3 | int PREFIX(getc)(int fd) | ||
4 | { | ||
5 | unsigned char c; | ||
6 | if (rb->read(fd, &c, 1)) | ||
7 | return c; | ||
8 | else | ||
9 | return EOF; | ||
10 | } | ||