Commit f2460876 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Remove dead code.

parent dbb3e147
...@@ -56,29 +56,6 @@ void CHARLIST_Enqueue( CHARLIST* pCharList, char myChar ) ...@@ -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) ...@@ -151,4 +128,3 @@ int CHARLIST_toBuffer(CHARLIST* pCharList, char* pBuffer, int nBufferSize)
return 0; return 0;
} }
...@@ -36,7 +36,6 @@ typedef struct _tagCHARLIST ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment