\r
/* Keeps track of the number of free bytes remaining, but says nothing about\r
fragmentation. */\r
\r
/* Keeps track of the number of free bytes remaining, but says nothing about\r
fragmentation. */\r
-static size_t xFreeBytesRemaining = configTOTAL_HEAP_SIZE;\r
+static size_t xFreeBytesRemaining;\r
\r
/* STATIC FUNCTIONS ARE DEFINED AS MACROS TO MINIMIZE THE FUNCTION CALL DEPTH. */\r
\r
\r
/* STATIC FUNCTIONS ARE DEFINED AS MACROS TO MINIMIZE THE FUNCTION CALL DEPTH. */\r
\r
pxFirstFreeBlock = ( void * ) xHeap.ucHeap; \\r
pxFirstFreeBlock->xBlockSize = configTOTAL_HEAP_SIZE; \\r
pxFirstFreeBlock->pxNextFreeBlock = &xEnd; \\r
pxFirstFreeBlock = ( void * ) xHeap.ucHeap; \\r
pxFirstFreeBlock->xBlockSize = configTOTAL_HEAP_SIZE; \\r
pxFirstFreeBlock->pxNextFreeBlock = &xEnd; \\r
+ \\r
+ xFreeBytesRemaining = configTOTAL_HEAP_SIZE; \\r
}\r
/*-----------------------------------------------------------*/\r
\r
}\r
/*-----------------------------------------------------------*/\r
\r
}\r
/*-----------------------------------------------------------*/\r
\r
}\r
/*-----------------------------------------------------------*/\r
\r
+void vPortInitialiseBlocks( void )\r
+{\r
+ /* This just exists to keep the linker quiet. */\r
+}\r