提交 c7747664 authored 作者: Michael Jerris's avatar Michael Jerris

warning levels on nix build prohibits // comments

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@74 a93c3328-9c30-0410-af19-c9cd2b2d52af
上级 443fe5b1
...@@ -286,12 +286,13 @@ void Q931Initialize() ...@@ -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() ...@@ -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) ...@@ -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) ...@@ -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
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论