mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2025-06-30 13:56:56 +08:00
Add exit() function just to prevent loads of the standard library from being included in the build.
This commit is contained in:
@ -284,5 +284,11 @@ void vApplicationMallocFailedHook( void )
|
||||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
/* Provide an exit function to prevent a whole load of standard library functions
|
||||
being brought into the build. */
|
||||
void exit( int status )
|
||||
{
|
||||
for( ;; );
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user