]> git.sur5r.net Git - freertos/commitdiff
Add exit() function just to prevent loads of the standard library from being included...
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Mon, 17 May 2010 14:52:27 +0000 (14:52 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Mon, 17 May 2010 14:52:27 +0000 (14:52 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1013 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/CORTUS_APS3_GCC/Demo/main.c

index 562ec4f192d2a69b5616f4d56926aca7dc54c4bf..093bac967f2075f91e8c4dc98846f44fca456776 100644 (file)
@@ -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( ;; );
+}