summaryrefslogtreecommitdiff
path: root/apps/plugins/lua/rocklibc.h
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/rocklibc.h
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/rocklibc.h')
-rw-r--r--apps/plugins/lua/rocklibc.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/plugins/lua/rocklibc.h b/apps/plugins/lua/rocklibc.h
index 430889bb70..44f916fded 100644
--- a/apps/plugins/lua/rocklibc.h
+++ b/apps/plugins/lua/rocklibc.h
@@ -30,7 +30,6 @@
30#include <errno.h> 30#include <errno.h>
31#define PREFIX(_x_) sim_ ## _x_ 31#define PREFIX(_x_) sim_ ## _x_
32#else 32#else
33#undef errno
34extern int errno; 33extern int errno;
35#define EINVAL 22 /* Invalid argument */ 34#define EINVAL 22 /* Invalid argument */
36#define ERANGE 34 /* Math result not representable */ 35#define ERANGE 34 /* Math result not representable */
@@ -44,8 +43,7 @@ extern int errno;
44#define memcmp rb->memcmp 43#define memcmp rb->memcmp
45#define strlen rb->strlen 44#define strlen rb->strlen
46 45
47extern int PREFIX(fscanf)(void *fd, const char *fmt, ...); 46extern int PREFIX(fscanf)(int fd, const char *fmt, ...);
48extern int PREFIX(getc)(int fd);
49 47
50#endif /* _ROCKLIBC_H_ */ 48#endif /* _ROCKLIBC_H_ */
51 49