From: richardbarry Date: Mon, 17 May 2010 14:52:27 +0000 (+0000) Subject: Add exit() function just to prevent loads of the standard library from being included... X-Git-Tag: V6.0.5~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c720da20a1c9ad8039f49b4bf327d31127058914;p=freertos Add exit() function just to prevent loads of the standard library from being included in the build. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1013 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Demo/CORTUS_APS3_GCC/Demo/main.c b/Demo/CORTUS_APS3_GCC/Demo/main.c index 562ec4f19..093bac967 100644 --- a/Demo/CORTUS_APS3_GCC/Demo/main.c +++ b/Demo/CORTUS_APS3_GCC/Demo/main.c @@ -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( ;; ); +}