From bfd0179042b0b02fb88748d54e56e7e208bb117f Mon Sep 17 00:00:00 2001 From: Marcin Bukat Date: Wed, 2 Apr 2014 20:46:06 +0200 Subject: 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. --- apps/plugins/lua/rocklibc.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'apps/plugins/lua/rocklibc.h') 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 #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_ */ -- cgit v1.1