Remove dead code.
This commit is contained in:
parent
dbb3e14748
commit
f2460876ae
|
@ -56,29 +56,6 @@ void CHARLIST_Enqueue( CHARLIST* pCharList, char myChar )
|
||||||
pCharList->nCount++;
|
pCharList->nCount++;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CHARLIST_Push( CHARLIST* pCharList, char myChar)
|
|
||||||
{
|
|
||||||
CHARLISTENTRY* pNewEntry = malloc(sizeof(CHARLISTENTRY));
|
|
||||||
|
|
||||||
TRACE("\n");
|
|
||||||
|
|
||||||
pNewEntry->myChar = myChar;
|
|
||||||
|
|
||||||
if(pCharList->pHead == NULL)
|
|
||||||
{
|
|
||||||
pCharList->pHead = pCharList->pTail = pNewEntry;
|
|
||||||
pNewEntry->pNext = NULL;
|
|
||||||
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
pNewEntry->pNext = pCharList->pHead;
|
|
||||||
pCharList->pHead = pNewEntry;
|
|
||||||
}
|
|
||||||
|
|
||||||
pCharList->nCount++;
|
|
||||||
}
|
|
||||||
|
|
||||||
char CHARLIST_Dequeue(CHARLIST* pCharList)
|
char CHARLIST_Dequeue(CHARLIST* pCharList)
|
||||||
{
|
{
|
||||||
CHARLISTENTRY* pCurrent;
|
CHARLISTENTRY* pCurrent;
|
||||||
|
@ -151,4 +128,3 @@ int CHARLIST_toBuffer(CHARLIST* pCharList, char* pBuffer, int nBufferSize)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,6 @@ typedef struct _tagCHARLIST
|
||||||
|
|
||||||
|
|
||||||
void CHARLIST_Enqueue( CHARLIST* pCharList, char myChar);
|
void CHARLIST_Enqueue( CHARLIST* pCharList, char myChar);
|
||||||
void CHARLIST_Push( CHARLIST* pCharList, char myChar);
|
|
||||||
char CHARLIST_Dequeue(CHARLIST* pCharList);
|
char CHARLIST_Dequeue(CHARLIST* pCharList);
|
||||||
int CHARLIST_GetNbItems(CHARLIST* pCharList);
|
int CHARLIST_GetNbItems(CHARLIST* pCharList);
|
||||||
void CHARLIST_FreeList(CHARLIST* pCharList);
|
void CHARLIST_FreeList(CHARLIST* pCharList);
|
||||||
|
|
Loading…
Reference in New Issue