warning levels on nix build prohibits // comments
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@74 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
19d39722eb
commit
8b89bdd9b3
|
@ -286,12 +286,13 @@ void Q931Initialize()
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
void Q931TimeTick(L3ULONG ms)
|
void Q931TimeTick(L3ULONG ms)
|
||||||
{
|
{
|
||||||
ms=ms; // avoid warning for now.
|
ms=ms; /* avoid warning for now. */
|
||||||
|
|
||||||
// TODO: Loop through all active calls, check timers and call timour procs
|
/* TODO: Loop through all active calls, check timers and call timour procs
|
||||||
// if timers are expired.
|
* if timers are expired.
|
||||||
// Implement an function array so each dialect can deal with their own
|
* Implement an function array so each dialect can deal with their own
|
||||||
// timeouts.
|
* timeouts.
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
|
@ -578,7 +579,7 @@ L3ULONG Q931GetTime()
|
||||||
tNow = Q931GetTimeProc();
|
tNow = Q931GetTimeProc();
|
||||||
if(tNow < tLast) /* wrapped */
|
if(tNow < tLast) /* wrapped */
|
||||||
{
|
{
|
||||||
// todo
|
/* TODO */
|
||||||
}
|
}
|
||||||
tLast = tNow;
|
tLast = tNow;
|
||||||
}
|
}
|
||||||
|
@ -632,7 +633,7 @@ void Q931AddStateEntry(L3UCHAR iD, L3INT iState, L3INT iMes, L3UCHAR cDir)
|
||||||
Q931st[x].State = iState;
|
Q931st[x].State = iState;
|
||||||
Q931st[x].Message = iMes;
|
Q931st[x].Message = iMes;
|
||||||
Q931st[x].Direction = cDir;
|
Q931st[x].Direction = cDir;
|
||||||
// TODO Sort table and use bsearch
|
/* TODO Sort table and use bsearch */
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -650,7 +651,7 @@ void Q931AddStateEntry(L3UCHAR iD, L3INT iState, L3INT iMes, L3UCHAR cDir)
|
||||||
L3BOOL Q931IsEventLegal(L3UCHAR iD, L3INT iState, L3INT iMes, L3UCHAR cDir)
|
L3BOOL Q931IsEventLegal(L3UCHAR iD, L3INT iState, L3INT iMes, L3UCHAR cDir)
|
||||||
{
|
{
|
||||||
int x;
|
int x;
|
||||||
// TODO Sort table and use bsearch
|
/* TODO Sort table and use bsearch */
|
||||||
for(x=0; x < Q931MAXSTATE; x++)
|
for(x=0; x < Q931MAXSTATE; x++)
|
||||||
{
|
{
|
||||||
if( Q931st[x].State == iState
|
if( Q931st[x].State == iState
|
||||||
|
|
Loading…
Reference in New Issue