core: fix const-correctness of queue functions

This commit is contained in:
2025-02-10 13:58:28 +00:00
parent 243c6651b0
commit 5c0df60dab
2 changed files with 2 additions and 2 deletions

View File

@@ -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;