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
|
@ -266,7 +266,7 @@ static int scan(int (*peek)(void *userp),
|
|||
|
||||
static int fspeek(void *userp)
|
||||
{
|
||||
int fd = ((int) userp);
|
||||
int fd = *((int*) userp);
|
||||
char buf = 0;
|
||||
if(rb->read(fd, &buf, 1) == 1)
|
||||
rb->lseek(fd, -1, SEEK_CUR);
|
||||
|
@ -275,11 +275,11 @@ static int fspeek(void *userp)
|
|||
|
||||
static void fspop(void *userp)
|
||||
{
|
||||
int fd = ((int) userp);
|
||||
int fd = *((int*) userp);
|
||||
rb->lseek(fd, 1, SEEK_CUR);
|
||||
}
|
||||
|
||||
int PREFIX(fscanf)(void *fd, const char *fmt, ...)
|
||||
int PREFIX(fscanf)(int fd, const char *fmt, ...)
|
||||
{
|
||||
int r;
|
||||
va_list ap;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue