/* callback ptr for messages to be send */\r
/* to layer 2. */\r
\r
-void (*Q931ErrorProc)(Q931_TrunkInfo *pTrunk, L3INT,L3INT,L3INT); \r
+L3INT (*Q931ErrorProc)(Q931_TrunkInfo *pTrunk, L3INT,L3INT,L3INT); \r
/* callback for error messages. */\r
\r
L3ULONG (*Q931GetTimeProc) ()=NULL; /* callback for func reading time in ms */\r
Description: Dummy function for error processing\r
\r
*****************************************************************************/\r
-void Q931ErrorDummy(Q931_TrunkInfo *pTrunk,L3INT a, L3INT b, L3INT c)\r
+L3INT Q931ErrorDummy(Q931_TrunkInfo *pTrunk,L3INT a, L3INT b, L3INT c)\r
{\r
+ return 0;\r
}\r
\r
/*****************************************************************************\r
/* warning C4189 : local variable is initialized but not referenced TODO: This one should not be disabled */\r
/* warning C4554: '&' : check operator precedence for possible error; use parentheses to clarify precedence TODO: This one should not be disabled */\r
/* warning C4267: '=' : conversion from 'size_t' to 'unsigned char', possible loss of data TODO: This one should not be disabled */\r
-#pragma warning(disable:4244 4189 4554 4267)\r
+#pragma warning(disable:4100 4244 4189 4554 4267)\r
#endif\r
\r
/*****************************************************************************\r