use -wrap for exit

This commit is contained in:
TuxSH
2020-04-27 01:07:57 +01:00
parent fb17850c3d
commit ced78cb072
10 changed files with 10 additions and 10 deletions

View File

@@ -107,7 +107,7 @@ void __libc_init_array(void);
void __ctru_exit(int rc) { (void)rc; } // needed to avoid linking error
// this is called after main exits
void exit(int rc)
void __wrap_exit(int rc)
{
(void)rc;