diff options
Diffstat (limited to 'src')
| -rwxr-xr-x | src/wrapped/wrappedlibc.c | 1 | ||||
| -rwxr-xr-x | src/wrapped/wrappedlibc_private.h | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/wrapped/wrappedlibc.c b/src/wrapped/wrappedlibc.c index dd97a144..529a2f70 100755 --- a/src/wrapped/wrappedlibc.c +++ b/src/wrapped/wrappedlibc.c @@ -772,6 +772,7 @@ EXPORT int my___isoc99_fscanf(x64emu_t* emu, void* stream, void* fmt, uint64_t* return vfscanf(stream, fmt, VARARGS); } +EXPORT int my_fscanf(x64emu_t* emu, void* stream, void* fmt, uint64_t* b) __attribute__((alias("my___isoc99_fscanf"))); EXPORT int my___isoc99_sscanf(x64emu_t* emu, void* stream, void* fmt, uint64_t* b) { diff --git a/src/wrapped/wrappedlibc_private.h b/src/wrapped/wrappedlibc_private.h index 31566a19..f8b93a1e 100755 --- a/src/wrapped/wrappedlibc_private.h +++ b/src/wrapped/wrappedlibc_private.h @@ -409,7 +409,7 @@ GO(freopen64, pFppp) //GOW(frexp, //GOW(frexpf, //GOW(frexpl, -//GO(fscanf, +GOM(fscanf, iFEppV) GO(fseek, iFpli) GOW(fseeko, iFpli) GO(__fseeko64, iFpIi) @@ -606,7 +606,7 @@ GOW(getrusage, iFip) //GO(getsgnam, //GO(getsgnam_r, //GO(getsid, -//GOW(getsockname, +GOW(getsockname, iFipp) GOW(getsockopt, iFiiipp) //GO(getsourcefilter, //GO(getspent, |