Added constructor to queue
This commit is contained in:
@@ -27,6 +27,13 @@ struct queue_t
|
||||
struct queue_node_t *last;
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief Initializes a queue structure.
|
||||
*
|
||||
* @param queue
|
||||
*/
|
||||
void queue_construct(struct queue_t *queue);
|
||||
|
||||
/**
|
||||
* @brief Inserts a new item at the end of the queue.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user