core: fix const-correctness of queue functions
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include <blue/core/queue.h>
|
||||
|
||||
size_t b_queue_length(struct b_queue *q)
|
||||
size_t b_queue_length(const struct b_queue *q)
|
||||
{
|
||||
size_t i = 0;
|
||||
struct b_queue_entry *x = q->q_first;
|
||||
|
||||
Reference in New Issue
Block a user