forked from len0rd/rockbox
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.
This commit is contained in:
parent
36378988ad
commit
bfd0179042
64 changed files with 5733 additions and 9088 deletions
|
@ -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_ */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue