use -wrap for exit
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user