arm_ucos/src/common/queue.c
/********************************************************************/
/* 
 * Initialize the specified queue to an empty state
 * 
 * Parameters:
 *  q   Pointer to queue structure
 */
Initialize the specified queue to an empty state

q   Pointer to queue structure
Initialize the specified queue to an empty state q Pointer to queue structure
void
queue_init(QUEUE *q)
{
    q->head = NULL;
}
void queue_init ( QUEUE * q ) { q -> head = NULL ; }
Initialize the specified queue to an empty state
Initialize the specified queue to an empty state