summaryrefslogtreecommitdiff
path: root/apps/plugins/lua/getc.c
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2014-04-02 20:46:06 +0200
committerMarcin Bukat <marcin.bukat@gmail.com>2014-04-02 20:46:06 +0200
commitbfd0179042b0b02fb88748d54e56e7e208bb117f (patch)
tree42d5fd51574054caaf673420fca1ec962d62d2f2 /apps/plugins/lua/getc.c
parent36378988ad4059982742f05f5eb50580b456840a (diff)
downloadrockbox-bfd0179042b0b02fb88748d54e56e7e208bb117f.tar.gz
rockbox-bfd0179042b0b02fb88748d54e56e7e208bb117f.zip
Revert "Update lua plugin to 5.2.3"
FILE typedef to *void needs more work to not break sim and application builds. I checked only a few random native builds unfortunately. Sorry for inconvenience.
Diffstat (limited to 'apps/plugins/lua/getc.c')
-rw-r--r--apps/plugins/lua/getc.c10
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
3int 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}