diff options
| author | xctan <xctan@cirno.icu> | 2024-03-04 22:16:20 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-04 15:16:20 +0100 |
| commit | 8aaaddde03f2d360363bf1ea4bb9792ce9847c78 (patch) | |
| tree | 3f79da0043699de17adb33ee18e91ffecedfea77 /src/wrapped | |
| parent | d5176ba278d53d231730bd151d6817e2432a3cfd (diff) | |
| download | box64-8aaaddde03f2d360363bf1ea4bb9792ce9847c78.tar.gz box64-8aaaddde03f2d360363bf1ea4bb9792ce9847c78.zip | |
[WRAPPER] Fixed a typo in the signature of my___libc_start_main (#1323)
Diffstat (limited to 'src/wrapped')
| -rw-r--r-- | src/wrapped/wrappedlibc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapped/wrappedlibc.c b/src/wrapped/wrappedlibc.c index a62c5b78..73e3956c 100644 --- a/src/wrapped/wrappedlibc.c +++ b/src/wrapped/wrappedlibc.c @@ -454,7 +454,7 @@ static void* findprintf_typeFct(void* fct) #undef SUPER // some my_XXX declare and defines -int32_t my___libc_start_main(x64emu_t* emu, int *(main) (int, char * *, char * *), +int32_t my___libc_start_main(x64emu_t* emu, int (*main) (int, char * *, char * *), int argc, char * * ubp_av, void (*init) (void), void (*fini) (void), void (*rtld_fini) (void), void (* stack_end)); // implemented in x64run_private.c EXPORT void my___libc_init_first(x64emu_t* emu, int argc, char* arg0, char** b) |