Queue *q; /* queue */
#endif
{
- TRC1(SInitQueue)
#if (ERRCLASS & ERRCLS_INT_PAR)
/* check queue pointer */
#ifdef T2K_MEM_LEAK_DBG
char* file = __FILE__;
- U32 line = __LINE__;
+ uint32_t line = __LINE__;
#endif
- TRC1(SFlushQueue)
#if (ERRCLASS & ERRCLS_INT_PAR)
/* check queue */
Order order; /* order */
#endif
{
- TRC1(SCatQueue)
#if (ERRCLASS & ERRCLS_INT_PAR)
if (q1 == NULLP)
QLen *lngPtr; /* pointer to length */
#endif
{
- TRC1(SFndLenQueue)
#if (ERRCLASS & ERRCLS_INT_PAR)
/* check queue */
Buffer *tmpBuf;
QLen i;
- TRC1(SExamQueue)
#if (ERRCLASS & ERRCLS_INT_PAR)
/* check buffer pointer */
Buffer *tBuf;
QLen i;
- TRC1(SAddQueue)
#if (ERRCLASS & ERRCLS_INT_PAR)
/* check queue */
Buffer *tBuf;
QLen i;
- TRC1(SRemQueue)
#if (ERRCLASS & ERRCLS_INT_PAR)
/* check buffer pointer */
*
*/
#ifdef ANSI
-INLINE S16 SQueueFirst
+inline S16 SQueueFirst
(
Buffer *buf, /* buffer */
Queue *q /* queue */
)
#else
-INLINE S16 SQueueFirst(buf, q)
+inline S16 SQueueFirst(buf, q)
Buffer *buf; /* buffer */
Queue *q; /* queue */
#endif
{
- TRC1(SQueueFirst)
return (SAddQueue(buf, q, 0));
} /* end of SQueueFirst */
*
*/
#ifdef ANSI
-INLINE S16 SDequeueFirst
+inline S16 SDequeueFirst
(
Buffer **bufPtr, /* pointer to buffer */
Queue *q /* queue */
)
#else
-INLINE S16 SDequeueFirst(bufPtr, q)
+inline S16 SDequeueFirst(bufPtr, q)
Buffer **bufPtr; /* pointer to buffer */
Queue *q; /* queue */
#endif
{
- TRC2(SDequeueFirst)
return (SRemQueue(bufPtr, q, 0));
} /* end of SDequeueFirst */
Queue *q; /* queue */
#endif
{
- TRC1(SQueueLast)
#if (ERRCLASS & ERRCLS_INT_PAR)
/* check queue */
{
S16 ret;
- TRC1(SDequeueLast)
#if (ERRCLASS & ERRCLS_INT_PAR)
/* check buffer pointer */
SsDmndQ *dQueue; /* Demand Queue */
#endif
{
- U8 i;
+ uint8_t i;
S16 ret;
- TRC0(ssInitDmnddQ)
#if (ERRCLASS & ERRCLS_INT_PAR)
if (dQueue == NULLP)
SsDmndQ *dQueue; /* demand Queue */
#endif
{
- U8 i;
+ uint8_t i;
Buffer *tBuf;
S16 ret;
- TRC0(ssDestroyDmndQ)
#if (ERRCLASS & ERRCLS_INT_PAR)
if (dQueue == NULLP)
#endif
{
#ifndef TENB_RTLIN_CHANGES
- U8 maskIndex; /* mask Index */
- U8 bitPosition; /* bit position in index */
+ uint8_t maskIndex; /* mask Index */
+ uint8_t bitPosition; /* bit position in index */
#else
- U8 qIndex;
+ uint8_t qIndex;
#endif
Queue *queue; /* queue in demand queue */
S16 ret; /* return value */
#ifdef SS_PERF
int value;
- U32 size;
+ uint32_t size;
#endif
#ifdef MSPD_MLOG_NEW
- U32 t = MacGetTick();
+ uint32_t t = MacGetTick();
#endif
- TRC0(ssDmndQPut)
#if (ERRCLASS & ERRCLS_INT_PAR)
if (dQueue == NULLP)
{
S16 ret;
- TRC0(ssDmndQWait)
#if (ERRCLASS & ERRCLS_INT_PAR)
if (dQueue == NULLP)
S16 ret;
S16 i;
#ifndef TENB_RTLIN_CHANGES
- U8 bitPosition;
- U8 qIndex;
+ uint8_t bitPosition;
+ uint8_t qIndex;
#endif
- TRC0(ssDmndQGet)
#if (ERRCLASS & ERRCLS_INT_PAR)
if (mBuf == NULLP)
{
S16 ret; /* return value */
- U8 i;
+ uint8_t i;
- TRC0(ssFndLenDmndQ)
#if (ERRCLASS & ERRCLS_INT_PAR)
if ((dQueue == NULLP) || (len == NULLP))