/* Inserts the specified block node into the linked list with block nodes.  */
static void TbxMemPoolBlockListInsert(tBlockList *listPtr, tBlockNode *nodePtr)
/* Inserts the specified block node into the linked list with block nodes.  */
static void TbxMemPoolBlockListInsert(tBlockList *listPtr, tBlockNode *nodePtr)
{
  TBX_ASSERT(listPtr != NULL);
  TBX_ASSERT(nodePtr != NULL);
  if ( (listPtr != NULL) && (nodePtr != NULL) )
  {
    if (*listPtr == NULL)
    {
      nodePtr->nextNodePtr = NULL;
    }
    else
    {
      nodePtr->nextNodePtr = *listPtr;
    }
    *listPtr = nodePtr;
  }
}