/* Function: void mqe_free(MsgQueue_t *msgq, struct msgqueue_entry *mq) Purpose : free a message queue entry Params : msgq - message queue to free entry from mq - message queue entry to free  */
static void mqe_free(MsgQueue_t *msgq, struct msgqueue_entry *mq)
/* Function: void mqe_free(MsgQueue_t *msgq, struct msgqueue_entry *mq) Purpose : free a message queue entry Params : msgq - message queue to free entry from mq - message queue entry to free  */
static void mqe_free(MsgQueue_t *msgq, struct msgqueue_entry *mq)
{
	if (mq) {
		mq->next = msgq->free;
		msgq->free = mq;
	}
}