This commit is contained in:
Meco Man
2021-02-17 00:18:49 +08:00
parent e927a53b41
commit 9f5878b2fb
4 changed files with 18 additions and 15 deletions

View File

@@ -11,12 +11,14 @@
void exit (int status)
{
extern rt_inline void __exit__(int status);
__exit__(return_code);
extern void __exit__(int status);
__exit__(status);
while(1);
}
void abort(void)
{
extern rt_inline void __abort__(void);
extern void __abort__(void);
__abort__();
while(1);
}