Commit e9caf93b authored by Ulrich Weigand's avatar Ulrich Weigand Committed by Alexandre Julliard

Removed TIMER_SwitchQueue.

parent cdd3a528
......@@ -21,7 +21,6 @@ extern BOOL MSG_InternalGetMessage( MSG *msg, HWND hwnd,
extern BOOL TIMER_Init( void );
extern void TIMER_RemoveWindowTimers( HWND hwnd );
extern void TIMER_RemoveQueueTimers( HQUEUE16 hqueue );
extern void TIMER_SwitchQueue( HQUEUE16 hOldQueue, HQUEUE16 hNewQueue );
extern BOOL TIMER_GetTimerMsg( MSG *msg, HWND hwnd,
HQUEUE16 hQueue, BOOL remove );
......
......@@ -1240,8 +1240,6 @@ HQUEUE16 WINAPI SetTaskQueue16( HTASK16 hTask, HQUEUE16 hQueue )
hPrev = pTask->hQueue;
pTask->hQueue = hQueue;
TIMER_SwitchQueue( hPrev, hQueue );
return hPrev;
}
......
......@@ -119,26 +119,6 @@ static void TIMER_ClearTimer( TIMER * pTimer )
/***********************************************************************
* TIMER_SwitchQueue
*/
void TIMER_SwitchQueue( HQUEUE16 old, HQUEUE16 new )
{
TIMER * pT;
EnterCriticalSection( &csTimer );
pT = pNextTimer;
while (pT)
{
if (pT->hq == old) pT->hq = new;
pT = pT->next;
}
LeaveCriticalSection( &csTimer );
}
/***********************************************************************
* TIMER_RemoveWindowTimers
*
* Remove all timers for a given window.
......
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