diff options
| author | Marcin Bukat <marcin.bukat@gmail.com> | 2014-04-02 20:46:06 +0200 |
|---|---|---|
| committer | Marcin Bukat <marcin.bukat@gmail.com> | 2014-04-02 20:46:06 +0200 |
| commit | bfd0179042b0b02fb88748d54e56e7e208bb117f (patch) | |
| tree | 42d5fd51574054caaf673420fca1ec962d62d2f2 /apps/plugins/lua/rocklibc.h | |
| parent | 36378988ad4059982742f05f5eb50580b456840a (diff) | |
| download | rockbox-bfd0179042b0b02fb88748d54e56e7e208bb117f.zip rockbox-bfd0179042b0b02fb88748d54e56e7e208bb117f.tar.gz rockbox-bfd0179042b0b02fb88748d54e56e7e208bb117f.tar.bz2 rockbox-bfd0179042b0b02fb88748d54e56e7e208bb117f.tar.xz | |
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.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/plugins/lua/rocklibc.h b/apps/plugins/lua/rocklibc.h index 430889b..44f916f 100644 --- a/apps/plugins/lua/rocklibc.h +++ b/apps/plugins/lua/rocklibc.h @@ -30,7 +30,6 @@ #include <errno.h> #define PREFIX(_x_) sim_ ## _x_ #else -#undef errno extern int errno; #define EINVAL 22 /* Invalid argument */ #define ERANGE 34 /* Math result not representable */ @@ -44,8 +43,7 @@ extern int errno; #define memcmp rb->memcmp #define strlen rb->strlen -extern int PREFIX(fscanf)(void *fd, const char *fmt, ...); -extern int PREFIX(getc)(int fd); +extern int PREFIX(fscanf)(int fd, const char *fmt, ...); #endif /* _ROCKLIBC_H_ */ |