core: queue: update b_queue_empty parameter to be a const ptr

This commit is contained in:
2025-06-27 21:38:34 +01:00
parent f5b1200525
commit 07581f6de0

View File

@@ -38,7 +38,7 @@ static inline void b_queue_init(b_queue *q)
{
memset(q, 0x00, sizeof *q);
}
static inline bool b_queue_empty(b_queue *q)
static inline bool b_queue_empty(const b_queue *q)
{
return q->q_first == NULL;
}